Issue 81278 - crash regarding "Mail merge wizard"
Summary: crash regarding "Mail merge wizard"
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 72764
  Show dependency tree
 
Reported: 2007-09-05 09:22 UTC by jian.li
Modified: 2013-08-07 14:42 UTC (History)
5 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch for this issue (1.37 KB, text/plain)
2007-09-05 09:43 UTC, jian.li
no flags Details
a better patch (1.37 KB, text/plain)
2007-09-06 02:34 UTC, jian.li
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jian.li 2007-09-05 09:22:28 UTC
I found 2 crash situations regarding "Mail merge wizard".
The steps to reproduce them are as follows:
1.create a new writer document;
2.Tools-Mail merge wizard, click step 3 "Insert address block";
3.click "Select Address List" on the right, and then click "create" button;
4.click "OK" button, and save the file with name "1", and then click "OK" to 
return to dialog "Mail merge wizard";
5.click button "More" under step 2 on the right;
6.click "Delete" until button "Delete" becomes grey;
  1) a) click button "new", and insert a new Address Block;
     b) now the cursor is on the new created Block, click button "OK" in the 
dialog "Select Address Block", crash.
  2) a) click "OK" to return to dialog "Mail merge wizard";
     b) click button "More" again, now there is only one address blcok and 
button "Delete" is lighted;
     c) click "Delete" button, and then click "OK", crash.
Comment 1 jian.li 2007-09-05 09:43:14 UTC
Created attachment 47966 [details]
patch for this issue
Comment 2 jian.li 2007-09-05 09:44:16 UTC
Please review this patch.
Comment 3 michael.ruess 2007-09-05 11:02:16 UTC
Reassigned to OS.
Comment 4 Oliver Specht 2007-09-05 13:01:20 UTC
Patch applied in cws os103
Comment 5 jian.li 2007-09-06 02:34:22 UTC
Created attachment 47996 [details]
a better patch
Comment 6 jian.li 2007-09-06 02:35:41 UTC
statement
pTemp[nAddress] = m_aAddressBlocks[nIndex];
should be 
pTemp[nAddress] = m_aAddressBlocks[nIndex++];
Comment 7 Oliver Specht 2007-10-05 12:26:23 UTC
Reassigned for verification
Comment 8 h.ilter 2007-10-14 21:18:42 UTC
Verified with cws os103 = ok
Comment 9 h.ilter 2008-02-13 14:43:21 UTC
Still ok in OOH680m6_9268