[Libreoffice-commits] core.git: sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Thu Sep 10 08:53:17 PDT 2015
sc/source/filter/excel/xestream.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 61bd09dba251503d262edf6c443cbd7cf627392b
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Thu Sep 10 17:52:18 2015 +0200
also add the relation for the vba stream to the xlsx file
Change-Id: I0b1bf1c8584b6c0e0422dea09577d5cf38b38c55
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 2969a16..bedb24f 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1103,6 +1103,8 @@ bool XclExpXmlStream::exportDocument()
css::uno::Reference<css::io::XOutputStream> xVBAOutput =
openFragmentStream("xl/vbaProject.bin", "VBA");
comphelper::OStorageHelper::CopyInputToOutput(xVBAStream, xVBAOutput);
+
+ addRelation(GetCurrentStream()->getOutputStream(), "http://schemas.microsoft.com/office/2006/relationships/vbaProject", "vbaProject.bin");
}
// destruct at the end of the block
More information about the Libreoffice-commits
mailing list