diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-02 14:11:09 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-02 15:42:26 +0200 |
commit | ab9f4482b19126d696f5a004384ddf29f7fedbc3 (patch) | |
tree | 970ab6314002c2acba6140fd309fcb49e702e4bf /desktop/source/deployment | |
parent | fa65ff8b1d2f50fa7f14e92fa7bc3c5d6619831a (diff) |
Also bypass definitions of functions not used on Android or iOS
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/manager/dp_activepackages.cxx | 5 |
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 { |