summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-10-06 08:31:15 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-10-06 08:31:15 +0000
commit1bed162a7494769275db0831810f51069415881f (patch)
tree2567bfa17045516e2350f5c586bb1b1366cac48c
parent16b796fcce6430448535e3692f624cb469380442 (diff)
#100000#
-rw-r--r--psprint/source/fontmanager/fontconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/psprint/source/fontmanager/fontconfig.cxx b/psprint/source/fontmanager/fontconfig.cxx
index c81962ef20b7..a89591e8618f 100644
--- a/psprint/source/fontmanager/fontconfig.cxx
+++ b/psprint/source/fontmanager/fontconfig.cxx
@@ -790,7 +790,7 @@ bool PrintFontManager::addFontconfigDir( const rtl::OString& rDirName )
if( nVersion <= 20400 )
return false;
const char* pDirName = (const char*)rDirName.getStr();
- bool bRet = (rWrapper.FcConfigAppFontAddDir( rWrapper.getDefConfig(), (FcChar8*)pDirName ) == FcTrue);
+ bool bRet = (rWrapper.FcConfigAppFontAddDir( rWrapper.FcConfigGetCurrent(), (FcChar8*)pDirName ) == FcTrue);
#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "FcConfigAppFontAddDir( \"%s\") => %d\n", pDirName, bRet );