https://issues.apache.org/ooo/show_bug.cgi?id=119415

--- Comment #6 from Chen Peng <[email protected]> ---
Root Cause: 
   The sample was created by Chinese MS Excel 2003, the textencoding value of
this is 61, when call the pcCharset = rtl_getMimeCharsetFromTextEncoding(
eTextEnc), it will return null, so can't set the text stream of VBA and can't
load the VBA code in AOO.

Resolution:
   Change the rtl_getMimeCharsetFromTextEncoding( eTextEnc) to
rtl_getBestMimeCharsetFromTextEncoding( eTextEnc) to get the right Charset,
then can set the VBA text stream to load VBA code in AOO.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to