summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-11-25 17:02:01 +0100
committerjan Iversen <jani@libreoffice.org>2017-11-25 17:04:00 +0100
commit6eeac3539ea4cac32d126c5e24141f262eb5a4d9 (patch)
treea13f7e3a95769f575722e048993bcc6f0b67a3b1
parent64c38401971eba6b7c2eb6dc1af978c8a6110ef8 (diff)
iOS, simplifyModule in cppuhelper is unusedlibreoffice-6-0-branch-point
function simplifyModule is reported unused == error on iOS, therefore guarded with an #ifndef IOS Change-Id: I751cf68bd46ed17032251fede030f9082ce4e4f5
-rw-r--r--cppuhelper/source/servicemanager.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index 163e0e631d37..09e555a4ff43 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -1809,6 +1809,7 @@ cppuhelper::ServiceManager::findServiceImplementation(
}
/// Make a simpler unique name for preload / progress reporting.
+#ifndef IOS
static rtl::OUString simplifyModule(const rtl::OUString &uri)
{
sal_Int32 nIdx;
@@ -1833,6 +1834,7 @@ static rtl::OUString simplifyModule(const rtl::OUString &uri)
edit.remove(0,3);
return edit.makeStringAndClear();
}
+#endif
/// Used only by LibreOfficeKit when used by Online to pre-initialize
void cppuhelper::ServiceManager::preloadImplementations() {