summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-16 17:14:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-17 16:12:02 +0000
commit83d2c5180d255532b7cdf5d2922fee1cf056eef3 (patch)
tree7a58db4a6723008afe96e17185a69aa17a864e1f /svl
parent87707670c993794ab12b0fad0f048f11429269c2 (diff)
Adapt to no-longer explicit OUStringLiteral ctor
...from previous commit Change-Id: I062b7cd212c17e7eb5274476e6859228d0477c7f Reviewed-on: https://gerrit.libreoffice.org/32098 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforscan.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 0542cf34c134..6b2093863317 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -441,16 +441,16 @@ Color* ImpSvNumberformatScan::GetColor(OUString& sStr)
if ( i >= NF_MAX_DEFAULT_COLORS )
{
static OUStringLiteral const pEnglishColors[NF_MAX_DEFAULT_COLORS] = {
- OUStringLiteral( "BLACK" ),
- OUStringLiteral( "BLUE" ),
- OUStringLiteral( "GREEN" ),
- OUStringLiteral( "CYAN" ),
- OUStringLiteral( "RED" ),
- OUStringLiteral( "MAGENTA" ),
- OUStringLiteral( "BROWN" ),
- OUStringLiteral( "GREY" ),
- OUStringLiteral( "YELLOW" ),
- OUStringLiteral( "WHITE" )
+ "BLACK",
+ "BLUE",
+ "GREEN",
+ "CYAN",
+ "RED",
+ "MAGENTA",
+ "BROWN",
+ "GREY",
+ "YELLOW",
+ "WHITE"
};
size_t j = 0;
while ( j < NF_MAX_DEFAULT_COLORS && sString != pEnglishColors[j] )