summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/report/FormattedFieldBeautifier.cxx')
-rw-r--r--reportdesign/source/ui/report/FormattedFieldBeautifier.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx b/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
index 7021ed43f1ae..329b57014b53 100644
--- a/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
+++ b/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
@@ -90,10 +90,7 @@ namespace rptui
OUString sLabel = m_rReportController.getColumnLabel_throw(sColumnName);
if ( !sLabel.isEmpty() )
{
- OUStringBuffer aBuffer;
- aBuffer.append( "=" );
- aBuffer.append( sLabel );
- sDataField = aBuffer.makeStringAndClear();
+ sDataField = "=" + sLabel;
bSet = false;
}
}