diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-02-07 18:48:40 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-02-07 18:57:15 +0200 |
commit | 6e8acc24eb8eb5f91e2db5e11457bb44e2b19f23 (patch) | |
tree | 7c81721fa58e85b49b5a000dff7e50125bb65944 /sc | |
parent | loplugin:deletedspecial (Mac OS X) (diff) | |
download | core-6e8acc24eb8eb5f91e2db5e11457bb44e2b19f23.tar.gz core-6e8acc24eb8eb5f91e2db5e11457bb44e2b19f23.zip |
Some compilers need explicit OUString() in return expression
Change-Id: Ideb64a7cf6fd4ad563b0e4bfab5583af1ecefd54
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/calcconfig.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx index ab6855e61f38..f1524089767f 100644 --- a/sc/source/core/tool/calcconfig.cxx +++ b/sc/source/core/tool/calcconfig.cxx @@ -105,10 +105,10 @@ OUString StringConversionToString(ScCalcConfig::StringConversion eConv) { switch (eConv) { - case ScCalcConfig::StringConversion::ILLEGAL: return "ILLEGAL"; - case ScCalcConfig::StringConversion::ZERO: return "ZERO"; - case ScCalcConfig::StringConversion::UNAMBIGUOUS: return "UNAMBIGUOUS"; - case ScCalcConfig::StringConversion::LOCALE: return "LOCALE"; + case ScCalcConfig::StringConversion::ILLEGAL: return OUString("ILLEGAL"); + case ScCalcConfig::StringConversion::ZERO: return OUString("ZERO"); + case ScCalcConfig::StringConversion::UNAMBIGUOUS: return OUString("UNAMBIGUOUS"); + case ScCalcConfig::StringConversion::LOCALE: return OUString("LOCALE"); default: return OUString::number((int) eConv); } } |