From 2096aac8b958db66b3ddce16b06dca87edc8ba0a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 13 Feb 2018 15:49:10 +0200 Subject: loplugin:changetoolsgen in editeng..extensions Change-Id: I476fd8b988216a300c57fcf184ea3742139363fe Reviewed-on: https://gerrit.libreoffice.org/49656 Tested-by: Jenkins Reviewed-by: Noel Grandin --- extensions/source/bibliography/toolbar.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/source/bibliography') diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index 04a8f6f960e6..feac99a016e5 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -192,7 +192,7 @@ BibToolBar::BibToolBar(vcl::Window* pParent, Link aLink) SetOutStyle(TOOLBOX_STYLE_FLAT); Size a2Size(GetOutputSizePixel()); - a2Size.Width()=100; + a2Size.setWidth(100 ); aLBSource->SetSizePixel(a2Size); aLBSource->SetDropDownLineCount(9); aLBSource->Show(); @@ -584,9 +584,9 @@ void BibToolBar::AdjustToolBox() Size aOldSize = GetSizePixel(); Size aSize = CalcWindowSizePixel(); if ( !aSize.Width() ) - aSize.Width() = aOldSize.Width(); + aSize.setWidth( aOldSize.Width() ); else if ( !aSize.Height() ) - aSize.Height() = aOldSize.Height(); + aSize.setHeight( aOldSize.Height() ); Size aTbSize = GetSizePixel(); if ( -- cgit