[Libreoffice-commits] core.git: desktop/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Mar 20 18:24:54 UTC 2017


 desktop/source/app/app.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 396f251191b83ed1f45431a2c299e0954fbaae40
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Mar 20 19:23:43 2017 +0100

    desktop: fix Android -Werror=unused-function
    
    Change-Id: Ic10dbd44e13df8e79d6b64c14291a40238c14a4e

diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index bf2243694675..13e2b6e7564d 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1090,6 +1090,7 @@ void handleCrashReport()
 }
 #endif
 
+#if !defined ANDROID
 void handleSafeMode()
 {
     css::uno::Reference< css::uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
@@ -1103,6 +1104,7 @@ void handleSafeMode()
     bool bRet = false;
     aRet >>= bRet;
 }
+#endif
 
 /** @short  check if recovery must be started or not.
 


More information about the Libreoffice-commits mailing list