diff options
Diffstat (limited to 'reportdesign/source/ui/report/FormattedFieldBeautifier.cxx')
-rw-r--r-- | reportdesign/source/ui/report/FormattedFieldBeautifier.cxx | 5 |
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; } } |