sc/source/core/data/attrib.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+)
New commits: commit 097f2e8cd15b9e7b4e96aecf1964c4764b52d595 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Mon Sep 26 17:06:18 2016 +0200 sc: fix Android build to_string() is missing in the std namespace on the broken Android toolchain, work it around. Change-Id: I91c15cdcc906f35c6daef6be94f1260a7361942c diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx index b32024a..31f7b8c 100644 --- a/sc/source/core/data/attrib.cxx +++ b/sc/source/core/data/attrib.cxx @@ -43,6 +43,17 @@ using namespace com::sun::star; +#ifdef ANDROID +namespace std +{ +template <typename T> std::string to_string(const T& rNumber) +{ + std::ostringstream aStream; + aStream << rNumber; + return aStream.str(); +} +} +#endif SfxPoolItem* ScProtectionAttr::CreateDefault() { return new ScProtectionAttr; } SfxPoolItem* ScDoubleItem::CreateDefault() { SAL_WARN( "sc", "No ScDoubleItem factory available"); return nullptr; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits