summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 15:14:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 18:16:28 +0200
commit3ebbb150242cf049a9ddab7f498c63f3a44aa034 (patch)
tree3bdf235f490b173919369e7062570322effa795d /sc/source/filter/excel
parent73df133143daaff14c364468598bb250db6aecb1 (diff)
loplugin:buffereadd find stuff involving adding *StringBuffer
and create conversion methods on *StringBuffer to make this work Change-Id: I3cf5ee3e139826168894b46eff8ee4bcde00cb7e Reviewed-on: https://gerrit.libreoffice.org/80949 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel')
-rw-r--r--sc/source/filter/excel/xecontent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index fc354d0ba69b..38155ca6eaa8 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -989,8 +989,8 @@ bool RequiresFixedFormula(ScConditionMode eMode)
OString GetFixedFormula(ScConditionMode eMode, const ScAddress& rAddress, const OString& rText)
{
OStringBuffer aBuffer;
- OStringBuffer aPosBuffer = XclXmlUtils::ToOString(aBuffer, rAddress);
- OString aPos = aPosBuffer.makeStringAndClear();
+ XclXmlUtils::ToOString(aBuffer, rAddress);
+ OString aPos = aBuffer.makeStringAndClear();
switch (eMode)
{
case ScConditionMode::Error: