summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/misc/reportformula.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/misc/reportformula.cxx')
-rw-r--r--reportdesign/source/core/misc/reportformula.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/reportdesign/source/core/misc/reportformula.cxx b/reportdesign/source/core/misc/reportformula.cxx
index c5026a545e94..1f743afd765f 100644
--- a/reportdesign/source/core/misc/reportformula.cxx
+++ b/reportdesign/source/core/misc/reportformula.cxx
@@ -58,12 +58,7 @@ namespace rptui
case Field:
{
- OUStringBuffer aBuffer;
- aBuffer.append( sFieldPrefix );
- aBuffer.append( "[" );
- aBuffer.append( _rFieldOrExpression );
- aBuffer.append( "]" );
- m_sCompleteFormula = aBuffer.makeStringAndClear();
+ m_sCompleteFormula = sFieldPrefix + OUStringLiteral("[") + _rFieldOrExpression + "]";
}
break;
default: