diff options
author | Andras Timar <andras.timar@collabora.com> | 2015-06-18 16:24:28 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-06-18 18:04:50 +0200 |
commit | 45e75a51373c97fa192f68aa1f43c3022a804cf9 (patch) | |
tree | 23b2648590cb3e04b11326869451f8db42964264 /sfx2 | |
parent | 9b5fe57adc4b9c195fd52bc31bc9dc9aafa1509e (diff) |
Make 'Show License' button work on OS X
Change-Id: I947033790476f982efd6a275831d2439b2859d8f
(cherry picked from commit ed4fe167a9705e714970ab5725aaae8854b1125b)
Diffstat (limited to 'sfx2')
-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 29a47a0609d0..1c3e1bd1cc3d 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()) |