Kaydet (Commit) ed4fe167 authored tarafından Andras Timar's avatar Andras Timar

Make 'Show License' button work on OS X

Change-Id: I947033790476f982efd6a275831d2439b2859d8f
üst df1fa04b
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment