summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrltool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx
index 1174cd8f79b7..ccbb3a13ef5f 100644
--- a/svtools/source/control/ctrltool.cxx
+++ b/svtools/source/control/ctrltool.cxx
@@ -649,7 +649,7 @@ FontMetric FontList::Get(const OUString& rName, const OUString& rStyleName) cons
aInfo = *pFontMetric;
// set Fontname to keep FontAlias
- aInfo.SetName( rName );
+ aInfo.SetFamilyName( rName );
aInfo.SetStyleName( rStyleName );
return aInfo;
@@ -686,7 +686,7 @@ FontMetric FontList::Get(const OUString& rName,
aInfo = *pFontMetric;
// set Fontname to keep FontAlias
- aInfo.SetName( rName );
+ aInfo.SetFamilyName( rName );
return aInfo;
}