diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-10 17:52:18 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-10 17:52:40 +0200 |
commit | 61bd09dba251503d262edf6c443cbd7cf627392b (patch) | |
tree | ab0262fa0a943f4afff90020f6149c2a147d5e4d /sc | |
parent | 0a94746db12fbab5c30c1009912ee910b9f20553 (diff) |
also add the relation for the vba stream to the xlsx file
Change-Id: I0b1bf1c8584b6c0e0422dea09577d5cf38b38c55
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 2969a16e3e90..bedb24f55517 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 |