Not all platforms have std::to_string(), urk

Change-Id: Ie930f2110bc1c10ac3ada9e266ca25d4ebdea5cd
This commit is contained in:
Tor Lillqvist
2015-02-07 18:06:49 +02:00
parent b749e4d3b7
commit a5cbf486ac

View File

@@ -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);
}
}