diff options
Diffstat (limited to 'svx/source/dialog/svxbmpnumvalueset.cxx')
-rw-r--r-- | svx/source/dialog/svxbmpnumvalueset.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index 953f062a2095..e4d48afbcf6b 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -153,11 +153,11 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt ) vcl::Font aFont(OutputDevice::GetDefaultFont( DefaultFontType::UI_SANS, MsLangId::getSystemLanguage(), GetDefaultFontFlags::OnlyOne)); - Size aSize = aFont.GetSize(); + Size aSize = aFont.GetFontSize(); vcl::Font aRuleFont( lcl_GetDefaultBulletFont() ); aSize.Height() = nRectHeight/6; - aRuleFont.SetSize(aSize); + aRuleFont.SetFontSize(aSize); aRuleFont.SetColor(aTextColor); aRuleFont.SetFillColor(aBackColor); if(ePageType == NumberingPageType::BULLET) @@ -168,7 +168,7 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt ) } aFont.SetColor(aTextColor); aFont.SetFillColor(aBackColor); - aFont.SetSize( aSize ); + aFont.SetFontSize( aSize ); pDev->SetFont(aFont); if(!pVDev) |