[Libreoffice-commits] core.git: svl/source
Eike Rathke
erack at redhat.com
Tue Apr 23 05:23:57 PDT 2013
svl/source/numbers/zformat.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7a78461075ba4dbab803795f2cb1c7b27ca4f612
Author: Eike Rathke <erack at redhat.com>
Date: Tue Apr 23 14:21:25 2013 +0200
eliminated another unnecessary rString.toString()
Change-Id: Ic2fad1120876160f741056937825ab564e6d5f4e
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 85a9d2a..8bc6dc2 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -1550,7 +1550,7 @@ short SvNumberformat::ImpNextSymbol(OUStringBuffer& rString,
'1' <= nDBNum && nDBNum <= '9' )
{
sBuffSymbol.stripStart((sal_Unicode)'[');
- sBuffSymbol.append(rString.toString().copy( --nPos, aDBNum.getLength()+1 ));
+ sBuffSymbol.append( aBufStr.copy( --nPos, aDBNum.getLength()+1 ));
nPos += aDBNum.getLength()+1;
//! SymbolType is negative
eSymbolType = sal::static_int_cast< short >( BRACKET_SYMBOLTYPE_DBNUM1 - (nDBNum - '1'));
More information about the Libreoffice-commits
mailing list