summaryrefslogtreecommitdiff
path: root/vcl/source/components/fontident.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/components/fontident.cxx')
-rw-r--r--vcl/source/components/fontident.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/components/fontident.cxx b/vcl/source/components/fontident.cxx
index bbf3b5f63624..10acf82a32a4 100644
--- a/vcl/source/components/fontident.cxx
+++ b/vcl/source/components/fontident.cxx
@@ -105,7 +105,7 @@ Any SAL_CALL FontIdentificator::getMaterial() throw(RuntimeException, std::excep
aFD.Kerning = false;
aFD.WordLineMode = false;
aFD.Type = 0;
- switch( m_aFont.GetFamily() )
+ switch( m_aFont.GetFamilyType() )
{
case FAMILY_DECORATIVE: aFD.Family = css::awt::FontFamily::DECORATIVE;break;
case FAMILY_MODERN: aFD.Family = css::awt::FontFamily::MODERN;break;