vcl110: #i93672# hide fonts button in fontconfig case

This commit is contained in:
Philipp Lohmann [pl] 2010-03-19 19:20:24 +01:00
parent 6285c33e79
commit c71eb88a08

View file

@ -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()