summaryrefslogtreecommitdiff
path: root/svtools/source/control/ctrlbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/ctrlbox.cxx')
-rw-r--r--svtools/source/control/ctrlbox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 736de5be4850..f73050d6a7b6 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -947,9 +947,9 @@ void FontStyleBox::Fill( std::u16string_view rName, const FontList* pList )
{
aFontMetric = FontList::GetFontMetric( hFontMetric );
- FontWeight eWeight = aFontMetric.GetWeight();
- FontItalic eItalic = aFontMetric.GetItalic();
- FontWidth eWidth = aFontMetric.GetWidthType();
+ FontWeight eWeight = aFontMetric.GetWeightMaybeAskConfig();
+ FontItalic eItalic = aFontMetric.GetItalicMaybeAskConfig();
+ FontWidth eWidth = aFontMetric.GetWidthTypeMaybeAskConfig();
// Only if the attributes are different, we insert the
// Font to avoid double Entries in different languages
if ( (eWeight != eLastWeight) || (eItalic != eLastItalic) ||