summaryrefslogtreecommitdiff
path: root/vcl/coretext/salgdi2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/coretext/salgdi2.cxx')
-rw-r--r--vcl/coretext/salgdi2.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/coretext/salgdi2.cxx b/vcl/coretext/salgdi2.cxx
index 96617e2205a4..778f0426ceaf 100644
--- a/vcl/coretext/salgdi2.cxx
+++ b/vcl/coretext/salgdi2.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_folders.h>
+
#include "sal/config.h"
#include "osl/file.hxx"
@@ -379,7 +381,7 @@ static bool AddLocalTempFontDirs( void )
OStringBuffer aBrandFontDir( aBrandSysPath.getLength()*2 );
aBrandFontDir.append( OUStringToOString( aBrandSysPath, RTL_TEXTENCODING_UTF8 ) );
- aBrandFontDir.append( "/share/fonts/truetype/" );
+ aBrandFontDir.append( "/" LIBO_SHARE_FOLDER "/fonts/truetype/" );
return AddTempFontDir( aBrandFontDir.getStr() );
}