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 16:26:02 +0200 |
commit | ed4fe167a9705e714970ab5725aaae8854b1125b (patch) | |
tree | 320226f96ecd5fa6fcbeb03db84c9c210e591c1e /sfx2 | |
parent | df1fa04b0d1341e7cb87ef16e2ec2c6447835cc5 (diff) |
Make 'Show License' button work on OS X
Change-Id: I947033790476f982efd6a275831d2439b2859d8f
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 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()) |