[Libreoffice-commits] core.git: oox/source

Stephan Bergmann sbergman at redhat.com
Sun Sep 13 23:45:35 PDT 2015


 oox/source/ole/vbaexport.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit e1f812e939b5d4dcde15e7ccee8da45ab5751790
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 14 08:45:10 2015 +0200

    loplugin:unreffun
    
    Change-Id: Ic355d203ea24af8bd13b09c004434f2e15ee3175

diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index 9d756d1..a9c9bfe 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -860,11 +860,15 @@ void getCorrectExportOrder(css::uno::Reference<css::container::XNameContainer> x
 
 }
 
+#if VBA_USE_ORIGINAL_WM_STREAM || VBA_USE_ORIGINAL_DIR_STREAM \
+    || VBA_USE_ORIGINAL_PROJECT_STREAM || VBA_USE_ORIGINAL_VBA_PROJECT \
+    || VBA_USE_ORIGINAL_DIR_STREAM
 void addFileStreamToSotStream(const OUString& rPath, SotStorageStream* pStream)
 {
     SvFileStream aFileStream(rPath, STREAM_READWRITE);
     pStream->WriteStream(aFileStream);
 }
+#endif
 
 void VbaExport::exportVBA(SotStorage* pRootStorage)
 {


More information about the Libreoffice-commits mailing list