[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Sat Feb 7 08:16:04 PST 2015
sc/source/core/tool/calcconfig.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a5cbf486ac69a8c6c090df032a24f7c14138ef8e
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Feb 7 18:06:49 2015 +0200
Not all platforms have std::to_string(), urk
Change-Id: Ie930f2110bc1c10ac3ada9e266ca25d4ebdea5cd
diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx
index e4e62e1..ab6855e 100644
--- a/sc/source/core/tool/calcconfig.cxx
+++ b/sc/source/core/tool/calcconfig.cxx
@@ -101,7 +101,7 @@ bool ScCalcConfig::operator!= (const ScCalcConfig& r) const
namespace {
-std::string StringConversionToString(ScCalcConfig::StringConversion eConv)
+OUString StringConversionToString(ScCalcConfig::StringConversion eConv)
{
switch (eConv)
{
@@ -109,7 +109,7 @@ std::string StringConversionToString(ScCalcConfig::StringConversion eConv)
case ScCalcConfig::StringConversion::ZERO: return "ZERO";
case ScCalcConfig::StringConversion::UNAMBIGUOUS: return "UNAMBIGUOUS";
case ScCalcConfig::StringConversion::LOCALE: return "LOCALE";
- default: return std::to_string((int) eConv);
+ default: return OUString::number((int) eConv);
}
}
More information about the Libreoffice-commits
mailing list