[Libreoffice-commits] core.git: Branch 'feature/vba-export' - oox/source
Rosemary
rosemaryseb8 at gmail.com
Mon Aug 10 04:37:18 PDT 2015
oox/source/ole/vbaexport.cxx | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit dbbc781a9038c9667a816c4806e459860a17bb2c
Author: Rosemary <rosemaryseb8 at gmail.com>
Date: Sun Aug 9 15:11:35 2015 +0530
PROJECTLCIDINVOKE record
Change-Id: I8e0df8f48fdabafac09d1a6d645da58ba17f71f1
Reviewed-on: https://gerrit.libreoffice.org/17600
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index d075ffe..30fe32f 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -26,6 +26,14 @@ VbaExport::VbaExport(css::uno::Reference<css::frame::XModel> xModel):
namespace {
+// section 2.3.4.2.1.3
+void writePROJECTLCIDINVOKE(SvStream& rStrm)
+{
+ rStrm.WriteUInt16(0x0014); // id
+ rStrm.WriteUInt32(0x00000004); // size
+ rStrm.WriteUInt32(0x00000409); // LcidInvoke
+}
+
// section 2.3.4.2.1.2
void writePROJECTLCID(SvStream& rStrm)
{
@@ -47,6 +55,7 @@ void writePROJECTINFORMATION(SvStream& rStrm)
{
writePROJECTSYSKIND(rStrm);
writePROJECTLCID(rStrm);
+ writePROJECTLCIDINVOKE(rStrm);
}
// section 2.3.4.2
More information about the Libreoffice-commits
mailing list