From bf8a6cacd06d7c1961b5db8cc79ee4bbdb342e43 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Feb 2018 09:22:30 +0200 Subject: loplugin:changetoolsgen in filter..framework Change-Id: I622da8a0c096c74efd97326451c4576b230f0483 Reviewed-on: https://gerrit.libreoffice.org/49701 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- framework/source/uielement/addonstoolbarwrapper.cxx | 2 +- framework/source/uielement/toolbarmanager.cxx | 2 +- framework/source/uielement/toolbarwrapper.cxx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/source/uielement') diff --git a/framework/source/uielement/addonstoolbarwrapper.cxx b/framework/source/uielement/addonstoolbarwrapper.cxx index ce9c61ede525..bcb8652aec58 100644 --- a/framework/source/uielement/addonstoolbarwrapper.cxx +++ b/framework/source/uielement/addonstoolbarwrapper.cxx @@ -130,7 +130,7 @@ void SAL_CALL AddonsToolBarWrapper::initialize( const Sequence< Any >& aArgument pToolBar->EnableCustomize(); ::Size aActSize( pToolBar->GetSizePixel() ); ::Size aSize( pToolBar->CalcWindowSizePixel() ); - aSize.Width() = aActSize.Width(); + aSize.setWidth( aActSize.Width() ); pToolBar->SetSizePixel( aSize ); } } diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index 44596aec8a34..3d7228b76835 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -1563,7 +1563,7 @@ IMPL_LINK( ToolBarManager, MenuButton, ToolBox*, pToolBar, void ) ::Size aActSize( pOverflowToolBar->GetSizePixel() ); ::Size aSize( pOverflowToolBar->CalcWindowSizePixel() ); - aSize.Width() = aActSize.Width(); + aSize.setWidth( aActSize.Width() ); pOverflowToolBar->SetOutputSizePixel( aSize ); aSize = pOverflowToolBar->CalcPopupWindowSizePixel(); diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx index b5b56f0ab070..5d681d8fa25c 100644 --- a/framework/source/uielement/toolbarwrapper.cxx +++ b/framework/source/uielement/toolbarwrapper.cxx @@ -170,7 +170,7 @@ void SAL_CALL ToolBarWrapper::initialize( const Sequence< Any >& aArguments ) pToolBar->EnableCustomize(); ::Size aActSize( pToolBar->GetSizePixel() ); ::Size aSize( pToolBar->CalcWindowSizePixel() ); - aSize.Width() = aActSize.Width(); + aSize.setWidth( aActSize.Width() ); pToolBar->SetOutputSizePixel( aSize ); } } @@ -185,7 +185,7 @@ void SAL_CALL ToolBarWrapper::initialize( const Sequence< Any >& aArguments ) pToolBar->EnableCustomize(); ::Size aActSize( pToolBar->GetSizePixel() ); ::Size aSize( pToolBar->CalcWindowSizePixel() ); - aSize.Width() = aActSize.Width(); + aSize.setWidth( aActSize.Width() ); pToolBar->SetOutputSizePixel( aSize ); } } -- cgit