incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119415] VBA code can't load after open in AOO3.4
Date Wed, 26 Sep 2012 03:10:45 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119415

--- Comment #6 from Chen Peng <chenpeng2006@gmail.com> ---
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.

Mime
View raw message