summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xecontent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xecontent.cxx')
-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: