Issue 654

Summary: 627c2: SwDoc::SetForbiddenCharacters crashes writer
Product: Writer Reporter: caolanm
Component: codeAssignee: jp <juergen_pingel>
Status: CLOSED FIXED QA Contact: issues@www <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: 619   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description caolanm 2001-04-05 15:34:25 UTC
use of SwDoc::SetForbiddenCharacters crashes writer.

Tools->Options->Asian Typography->Asian Layout->No Start of line
change the defaults. Select Ok. Crash in...

SW627MI! SwDoc::SetForbiddenCharacters(unsigned short,struct
com::sun::star::i18n::ForbiddenCharacters const &) + 47 bytes

This also affects all imported word 97/200 documents as they all attempt to
import word's typographc information.

Not in 626b4
Comment 1 jp 2001-04-05 18:07:00 UTC
This true and MRU has told me this. The problem is the CTOR of the 
SvxForbiddenCharacterTable. The Compiler epxand the 1. Parameter (which I get as 
return of a function) to the second default parameter and then it crasched. If i 
put the return parameter to local variable and create with this the table, all 
works. I change the code and checked it in (you can get it).
Comment 2 caolanm 2002-04-25 14:22:31 UTC
closed