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

Stephan Bergmann sbergman at redhat.com
Tue Sep 29 05:40:40 PDT 2015


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

New commits:
commit 4290105937153de6278aac064c419361458f6463
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 29 14:39:18 2015 +0200

    Remove newly meaningless comment
    
    ...after d35adb0835eb57ca6ef0576781a87d829c2689d0 "Retain the original project
    name"
    
    Change-Id: I9b351c79914bf31f2afcc69f3888fee9ea8b10ed

diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index 83b2324..eaa8078 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -379,7 +379,7 @@ void writePROJECTCODEPAGE(SvStream& rStrm)
 void writePROJECTNAME(SvStream& rStrm, const OUString& name)
 {
     rStrm.WriteUInt16(0x0004); // id
-    sal_uInt32 sizeOfProjectName = name.getLength(); // for project name "VBAProject"
+    sal_uInt32 sizeOfProjectName = name.getLength();
     rStrm.WriteUInt32(sizeOfProjectName); // sizeOfProjectName
     exportString(rStrm, name); // ProjectName
 }


More information about the Libreoffice-commits mailing list