diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-10-09 23:32:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-09 23:34:54 +0200 |
commit | 55149144cb926513ef250c87fdf0c59e11e2f6cf (patch) | |
tree | bc1d4feb02b812854bb542bf942d521c5ce8346c /svl | |
parent | Remove useless code (diff) | |
download | core-55149144cb926513ef250c87fdf0c59e11e2f6cf.tar.gz core-55149144cb926513ef250c87fdf0c59e11e2f6cf.zip |
SfxErrorHandler::CreateString: remove pointless loops
Change-Id: I585add18ea917249df252827e0eee944e59ce410
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 4049881c1a46..447bcf54da32 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -4721,7 +4721,7 @@ OUString SvNumberformat::GetMappedFormatstring( { // append empty subformats aStr.append( ';' ); } - return aStr.getStr(); + return aStr.makeStringAndClear(); } String SvNumberformat::ImpGetNatNumString( const SvNumberNatNum& rNum, |