Also bypass definitions of functions not used on Android or iOS

This commit is contained in:
Tor Lillqvist
2012-03-02 14:11:09 +02:00
parent fa65ff8b1d
commit ab9f4482b1

View File

@@ -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 {