diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-14 08:45:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-14 08:45:10 +0200 |
commit | e1f812e939b5d4dcde15e7ccee8da45ab5751790 (patch) | |
tree | f39c750fcca0585d12c16599ba27302bb384a11f /oox | |
parent | 3fd63b98d18dc9de8b37edced8ae74e4d70b929c (diff) |
loplugin:unreffun
Change-Id: Ic355d203ea24af8bd13b09c004434f2e15ee3175
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index 9d756d172527..a9c9bfeb405a 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) { |