diff options
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 8efbbb6fffb8..694c6ef97526 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -201,8 +201,13 @@ static bool checkURL( const char *pName, const char *pExt, OUString &rURL ) using namespace osl; DirectoryItem aDirItem; +#ifdef MACOSX + rURL = "$BRAND_BASE_DIR/Resources/" + OUString::createFromAscii( pName ) + + OUString::createFromAscii( pExt ); +#else rURL = "$BRAND_BASE_DIR/" + OUString::createFromAscii( pName ) + OUString::createFromAscii( pExt ); +#endif rtl::Bootstrap::expandMacros( rURL ); if (!rURL.isEmpty()) |