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

Stephan Bergmann sbergman at redhat.com
Tue Sep 20 09:33:50 UTC 2016


 sc/source/filter/excel/xeroot.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7e965ee623a31392d86eb925acaf8ea664a33da7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 20 11:31:38 2016 +0200

    Related cid#1371287: Improve code to not depend on missing move assignment
    
    Change-Id: I0397812ed7b728e03199d64929c42292fc9b1502

diff --git a/sc/source/filter/excel/xeroot.cxx b/sc/source/filter/excel/xeroot.cxx
index dd548a9..a06b01a 100644
--- a/sc/source/filter/excel/xeroot.cxx
+++ b/sc/source/filter/excel/xeroot.cxx
@@ -58,7 +58,7 @@ XclExpRootData::XclExpRootData( XclBiff eBiff, SfxMedium& rMedium,
 {
     SvtSaveOptions aSaveOpt;
     mbRelUrl = mrMedium.IsRemote() ? aSaveOpt.IsSaveRelINet() : aSaveOpt.IsSaveRelFSys();
-    maStringBuf = OStringBuffer();
+    maStringBuf.setLength(0);
 }
 
 XclExpRootData::~XclExpRootData()


More information about the Libreoffice-commits mailing list