summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 24ac10e9674a..1ee6b9ec9592 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -5339,7 +5339,7 @@ void ScCompiler::CreateStringFromIndex( OUStringBuffer& rBuffer, const FormulaTo
; // nothing
}
if ( !aBuffer.isEmpty() )
- rBuffer.append(aBuffer.makeStringAndClear());
+ rBuffer.append(aBuffer);
else
rBuffer.append(ScCompiler::GetNativeSymbol(ocErrName));
}