diff options
Diffstat (limited to 'framework/source/uielement/complextoolbarcontroller.cxx')
-rw-r--r-- | framework/source/uielement/complextoolbarcontroller.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx index 06da77962f4a..a4c3f96b0583 100644 --- a/framework/source/uielement/complextoolbarcontroller.cxx +++ b/framework/source/uielement/complextoolbarcontroller.cxx @@ -272,17 +272,6 @@ void ComplexToolbarController::addNotifyInfo( Application::PostUserEvent( LINK(nullptr, ComplexToolbarController, Notify_Impl), pNotifyInfo ); } -sal_Int32 ComplexToolbarController::getFontSizePixel( const vcl::Window* pWindow ) -{ - const StyleSettings& rSettings = Application::GetSettings().GetStyleSettings(); - const vcl::Font& rFont = rSettings.GetAppFont(); - - // Calculate height of the application font used by window - sal_Int32 nHeight = sal_Int32( rFont.GetFontHeight() ); - ::Size aPixelSize = pWindow->LogicToPixel(::Size(0, nHeight), MapMode(MapUnit::MapAppFont)); - return aPixelSize.Height(); -} - uno::Reference< frame::XDispatch > ComplexToolbarController::getDispatchFromCommand( const OUString& aCommand ) const { uno::Reference< frame::XDispatch > xDispatch; |