[Libreoffice-commits] core.git: svl/source
Stephan Bergmann
sbergman at redhat.com
Wed Jun 29 07:20:16 UTC 2016
svl/source/numbers/zforlist.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 24dcbccee7b1e35473187a77852afc8eee87ed2a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jun 29 09:19:47 2016 +0200
loplugin:stringconstant
Change-Id: I7c7c7a43c6c6e0fd03a8533b7794dd52126dc047
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index c5e31f8..29f95bc 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -2087,9 +2087,7 @@ sal_Int32 SvNumberFormatter::ImpGetFormatCodeIndex(
{ // we need at least _some_ format
rSeq.realloc(1);
rSeq[0] = css::i18n::NumberFormatCode();
- rSeq[0].Code = OUString('0')
- + GetNumDecimalSep()
- + "############";
+ rSeq[0].Code = "0" + GetNumDecimalSep() + "############";
}
return 0;
}
More information about the Libreoffice-commits
mailing list