diff options
Diffstat (limited to 'svtools/source/control/tabbar.cxx')
-rw-r--r-- | svtools/source/control/tabbar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 6f38a6072e67..aa2ed304262f 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -653,7 +653,7 @@ bool TabBar::ImplCalcWidth() // retrieve width of tabs with bold font vcl::Font aFont = GetFont(); - if (aFont.GetWeight() != WEIGHT_BOLD) + if (aFont.GetWeightMaybeAskConfig() != WEIGHT_BOLD) { aFont.SetWeight(WEIGHT_BOLD); SetFont(aFont); |