include/formula/token.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit c5c82c81ec184999feb982140547bd1351150655 Author: Tor Lillqvist <[email protected]> Date: Mon Mar 27 21:32:25 2017 +0300 No std::to_string in the silly C++ library we still use on Android Change-Id: I03a3bd999e4f423f6b5422417109e789dc5b5397 diff --git a/include/formula/token.hxx b/include/formula/token.hxx index 8747517ac481..7856d787d660 100644 --- a/include/formula/token.hxx +++ b/include/formula/token.hxx @@ -117,7 +117,9 @@ inline std::string StackVarEnumToString(StackVar const e) case svSep: return "Sep"; case svUnknown: return "Unknown"; } - return std::to_string(static_cast<int>(e)); + std::ostringstream os; + os << static_cast<int>(e); + return os.str(); } class FORMULA_DLLPUBLIC FormulaToken : public IFormulaToken _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
