From ab9f4482b19126d696f5a004384ddf29f7fedbc3 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 2 Mar 2012 14:11:09 +0200 Subject: [PATCH] Also bypass definitions of functions not used on Android or iOS --- desktop/source/deployment/manager/dp_activepackages.cxx | 5 +++-- 1 file 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 {