summaryrefslogtreecommitdiffstats
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-29 09:19:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-29 09:19:47 +0200
commit24dcbccee7b1e35473187a77852afc8eee87ed2a (patch)
tree0c3ec481399316777f708b08203ddd2dd07a6b68 /svl
parentRemove support for Clang < 3.4 (diff)
downloadcore-24dcbccee7b1e35473187a77852afc8eee87ed2a.tar.gz
core-24dcbccee7b1e35473187a77852afc8eee87ed2a.zip
loplugin:stringconstant
Change-Id: I7c7c7a43c6c6e0fd03a8533b7794dd52126dc047
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforlist.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index c5e31f876bde..29f95bc18a0f 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;
}