diff options
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uielement/complextoolbarcontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx index 7fb4d97720bb..38a341b0b0c9 100644 --- a/framework/source/uielement/complextoolbarcontroller.cxx +++ b/framework/source/uielement/complextoolbarcontroller.cxx @@ -270,7 +270,7 @@ sal_Int32 ComplexToolbarController::getFontSizePixel( const vcl::Window* pWindow const vcl::Font& rFont = rSettings.GetAppFont(); // Calculate height of the application font used by window - sal_Int32 nHeight = sal_Int32( rFont.GetHeight() ); + sal_Int32 nHeight = sal_Int32( rFont.GetFontHeight() ); ::Size aPixelSize = pWindow->LogicToPixel( ::Size( 0, nHeight ), MAP_APPFONT ); return aPixelSize.Height(); } |