summaryrefslogtreecommitdiff
path: root/vcl/source/font
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/font')
-rw-r--r--vcl/source/font/font.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/font.cxx b/vcl/source/font/font.cxx
index c608fafbab44..df0f89165f68 100644
--- a/vcl/source/font/font.cxx
+++ b/vcl/source/font/font.cxx
@@ -124,7 +124,7 @@ void Font::SetFontSize( const Size& rSize )
void Font::SetFamily( FontFamily eFamily )
{
- if( mpImplFont->GetFamilyType() != eFamily )
+ if( mpImplFont->GetFamilyTypeNoAsk() != eFamily )
mpImplFont->SetFamilyType( eFamily );
}