[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Sat Feb 7 09:06:19 PST 2015
sc/source/core/tool/calcconfig.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 6e8acc24eb8eb5f91e2db5e11457bb44e2b19f23
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Feb 7 18:48:40 2015 +0200
Some compilers need explicit OUString() in return expression
Change-Id: Ideb64a7cf6fd4ad563b0e4bfab5583af1ecefd54
diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx
index ab6855e..f152408 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);
}
}
More information about the Libreoffice-commits
mailing list