summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-06-18 16:24:28 +0200
committerAndras Timar <andras.timar@collabora.com>2015-06-18 16:31:45 +0200
commitbb65cdafedd1e461d43a90cda018e7fe3a1b9663 (patch)
tree2d882a0900939164603b7a77cb0480c32890278b /sfx2
parent7fdf8c36f6ae032af3f76a15ebb815e110d94694 (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.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index 40c80143dc92..7ff0da288f80 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())