summaryrefslogtreecommitdiff
path: root/padmin/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-05-10 18:24:45 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2010-05-10 18:24:45 +0200
commit02bdaee3115c6f67afa625c8ee6a4c4b11873fc2 (patch)
tree5520b010499b85157fa2c6d5d8bad2e453d12852 /padmin/source
parent4209cd2a3168c16b75dce990c9352d2c933a1476 (diff)
parent5ce0b830dc8d9e3ec411182693901d95812e390e (diff)
CWS-TOOLING: integrate CWS vcl110
Diffstat (limited to 'padmin/source')
-rw-r--r--padmin/source/padialog.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx
index 3ea15e28141c..583e14c06caa 100644
--- a/padmin/source/padialog.cxx
+++ b/padmin/source/padialog.cxx
@@ -147,6 +147,11 @@ void PADialog::Init()
::psp::PrintFontManager& rFontManager( ::psp::PrintFontManager::get() );
if( ! rFontManager.checkImportPossible() )
m_aFontsPB.Enable( FALSE );
+ if( rFontManager.hasFontconfig() )
+ {
+ m_aFontsPB.Enable( FALSE );
+ m_aFontsPB.Show( FALSE );
+ }
}
PADialog::~PADialog()