From a5cbf486ac69a8c6c090df032a24f7c14138ef8e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 7 Feb 2015 18:06:49 +0200 Subject: [PATCH] Not all platforms have std::to_string(), urk Change-Id: Ie930f2110bc1c10ac3ada9e266ca25d4ebdea5cd --- sc/source/core/tool/calcconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx index e4e62e1dd565..ab6855e61f38 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); } }