Apache OpenOffice (AOO) Bugzilla – Issue 50249
ASSERTION: Error: File string.c, Line 240 - wrong textencoding during svm export
Last modified: 2017-05-20 11:08:47 UTC
There are two slighly different scenarios where I have problems with the above assertion while streaming a GDIMetaFile to SvStream: 1) a) Open an impress or draw b) create a text shape with font 'Times New Roman' or 'Arial' for example. c) Export the selected text shape as svm file -> ASSERTION: Error: File string.c, Line 240 The assertion comes up because the given text encoding for rtl_impl_convertUStringToString does not fulfill 'rtl_isOctetTextEncoding' In the above example the textencoding is 65535. 2) While creating the ole object visual representation for the new chart I run into the same assertion with a text encoding 9 which was set via uno api. Moreover this new encoding is transported from the one MetaTextArrayAction to all following actions in the while loop in method vcl/../gdimtf.cxx 'SvStream& GDIMetaFile::Write( SvStream& rOStm )'. This might be worse?... Call stacks attached.
Created attachment 26836 [details] callstacks for the described scenarios
Reset assigne to the default "issues@openoffice.apache.org".