summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-20 11:31:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-20 11:31:38 +0200
commit7e965ee623a31392d86eb925acaf8ea664a33da7 (patch)
treec5dd99c8e04d5caeaa5802a242e8c6eafc7699df
parent2bd18402f1de8401511e4199e3b2113d9149ebdb (diff)
Related cid#1371287: Improve code to not depend on missing move assignment
Change-Id: I0397812ed7b728e03199d64929c42292fc9b1502
-rw-r--r--sc/source/filter/excel/xeroot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeroot.cxx b/sc/source/filter/excel/xeroot.cxx
index dd548a959d64..a06b01adbdc6 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()