diff options
author | Rosemary <rosemaryseb8@gmail.com> | 2015-08-14 06:57:13 +0530 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-10 02:12:29 +0200 |
commit | 5f1ecef8d192e224d8f89d39c9ffd913ca4df5ba (patch) | |
tree | 0f60a5b356744d6f992ef788c112a9bf1a018d11 | |
parent | add two todo for later (diff) | |
download | core-5f1ecef8d192e224d8f89d39c9ffd913ca4df5ba.tar.gz core-5f1ecef8d192e224d8f89d39c9ffd913ca4df5ba.zip |
reference registered record
Change-Id: I72a038f0e2ef4e7cd430de8e8c835a6147113e29
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index 761254501319..85c4352da1d6 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -498,10 +498,22 @@ void writeREFERENCENAME(SvStream& rStrm) exportUTF16String(rStrm, "stdole"); // nameUnicode // TODO find out where these values are coming from } +// section 2.3.4.2.2.5 +void writeREFERENCEREGISTERED(SvStream& rStrm) +{ + rStrm.WriteUInt16(0x000D); // id + rStrm.WriteUInt32(104); // size of sizeOfLibid, Libid, reserved 1 and reserved 2 + rStrm.WriteUInt32(94); // sizeOfLibid + exportString(rStrm, "*\\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\\Windows\\SysWOW64\\stdole2.tlb#OLE Automation"); + rStrm.WriteUInt32(0x00000000); // reserved 1 + rStrm.WriteUInt16(0x0000); // reserved 2 +} + // section 2.3.4.2.2.1 void writeREFERENCE(SvStream& rStrm) { writeREFERENCENAME(rStrm); + writeREFERENCEREGISTERED(rStrm); } // section 2.3.4.2.2 |