[Libreoffice-commits] core.git: Branch 'feature/vba-export' - oox/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Sep 8 20:00:32 PDT 2015


 oox/source/ole/vbaexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 996c78e175318380229b663c5d49e97a31bfedab
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Sep 9 04:59:46 2015 +0200

    the correct stream name is PROJECTwm
    
    Change-Id: I82d12a9451670ab181996d3ab8ec1a8fa32ce86c

diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index 772a24f..0b213e0 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -685,7 +685,7 @@ void VbaExport::exportVBA(SotStorage* pRootStorage)
         pModuleStream[i] = pVBAStream->OpenSotStream(aElementNames[i], STREAM_READWRITE);
     }
     SotStorageStream* pVBAProjectStream = pVBAStream->OpenSotStream("_VBA_PROJECT", STREAM_READWRITE);
-    SotStorageStream* pPROJECTwmStream = pRootStorage->OpenSotStream("PROJECT", STREAM_READWRITE);
+    SotStorageStream* pPROJECTwmStream = pRootStorage->OpenSotStream("PROJECTwm", STREAM_READWRITE);
 
 
     // export


More information about the Libreoffice-commits mailing list