summaryrefslogtreecommitdiff
path: root/desktop/source/lib/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r--desktop/source/lib/init.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 9f32bcfd1edb..f4f46221f7b0 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -99,6 +99,19 @@ using namespace vcl;
using namespace desktop;
using namespace utl;
+#if defined(ANDROID)
+namespace std
+{
+template<typename T>
+std::string to_string(T x)
+{
+ std::ostringstream stream;
+ stream << x;
+ return stream.str();
+}
+}
+#endif
+
static LibLibreOffice_Impl *gImpl = nullptr;
static std::weak_ptr< LibreOfficeKitClass > gOfficeClass;
static std::weak_ptr< LibreOfficeKitDocumentClass > gDocumentClass;