summaryrefslogtreecommitdiff
path: root/vcl/source/components
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/components')
-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 20aa9d1a705f..bbf3b5f63624 100644
--- a/vcl/source/components/fontident.cxx
+++ b/vcl/source/components/fontident.cxx
@@ -93,7 +93,7 @@ Any SAL_CALL FontIdentificator::getMaterial() throw(RuntimeException, std::excep
return Any(); // VCL not initialized
FontDescriptor aFD;
- aFD.Name = m_aFont.GetName();
+ aFD.Name = m_aFont.GetFamilyName();
aFD.Height = 0;
aFD.Width = 0;
aFD.StyleName = m_aFont.GetStyleName();