sc/source/filter/excel/xestream.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 61bd09dba251503d262edf6c443cbd7cf627392b
Author: Markus Mohrhard <markus.mohrh...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to