summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-02 14:11:09 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-02 15:42:26 +0200
commitab9f4482b19126d696f5a004384ddf29f7fedbc3 (patch)
tree970ab6314002c2acba6140fd309fcb49e702e4bf /desktop
parentCheck for Clang in configury and store and use result (diff)
downloadcore-ab9f4482b19126d696f5a004384ddf29f7fedbc3.tar.gz
core-ab9f4482b19126d696f5a004384ddf29f7fedbc3.zip
Also bypass definitions of functions not used on Android or iOS
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/manager/dp_activepackages.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/deployment/manager/dp_activepackages.cxx b/desktop/source/deployment/manager/dp_activepackages.cxx
index b7b99f564d6f..59286626a491 100644
--- a/desktop/source/deployment/manager/dp_activepackages.cxx
+++ b/desktop/source/deployment/manager/dp_activepackages.cxx
@@ -52,13 +52,13 @@
// key: 0xFF UTF8(identifier)
// value: UTF8(tempname) 0xFF UTF8(filename) 0xFF UTF8(mediatype)
+#if !defined(ANDROID) && !defined(IOS)
+
namespace {
static char const separator = static_cast< char >(
static_cast< unsigned char >(0xFF));
-static char const legacyPrefix[] = "org.openoffice.legacy.";
-
::rtl::OString oldKey(::rtl::OUString const & fileName) {
return ::rtl::OUStringToOString(fileName, RTL_TEXTENCODING_UTF8);
}
@@ -119,6 +119,7 @@ static char const legacyPrefix[] = "org.openoffice.legacy.";
}
}
+#endif
namespace dp_manager {