diff options
Diffstat (limited to 'svx/source/sidebar/line/LineWidthValueSet.cxx')
-rw-r--r-- | svx/source/sidebar/line/LineWidthValueSet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/line/LineWidthValueSet.cxx b/svx/source/sidebar/line/LineWidthValueSet.cxx index 2d41152032c0..a260709bb678 100644 --- a/svx/source/sidebar/line/LineWidthValueSet.cxx +++ b/svx/source/sidebar/line/LineWidthValueSet.cxx @@ -98,9 +98,9 @@ void LineWidthValueSet::UserDraw( const UserDrawEvent& rUDEvt ) Color aOldFillColor = pDev->GetFillColor(); vcl::Font aFont(OutputDevice::GetDefaultFont(DefaultFontType::UI_SANS, MsLangId::getSystemLanguage(), GetDefaultFontFlags::OnlyOne)); - Size aSize = aFont.GetSize(); + Size aSize = aFont.GetFontSize(); aSize.Height() = nRectHeight*3/5; - aFont.SetSize( aSize ); + aFont.SetFontSize( aSize ); Point aLineStart(aBLPos.X() + 5, aBLPos.Y() + ( nRectHeight - nItemId )/2); Point aLineEnd(aBLPos.X() + nRectWidth * 7 / 9 - 10, aBLPos.Y() + ( nRectHeight - nItemId )/2); |