From 1adb1a320a7e9832a41545bde13fd59d27ce7954 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Feb 2018 16:48:57 +0200 Subject: loplugin:changetoolsgen in avmedia..basic Change-Id: I4e355ae27b9fad1cc6e8f8f408dbd9e93d7256d7 Reviewed-on: https://gerrit.libreoffice.org/49603 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/runtime/inputbox.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basic/source/runtime/inputbox.cxx') diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx index 2fdb4e057752..3ff12c04a24c 100644 --- a/basic/source/runtime/inputbox.cxx +++ b/basic/source/runtime/inputbox.cxx @@ -92,7 +92,7 @@ void SvRTLInputBox::InitButtons( const Size& rDlgSize ) aCancel->SetSizePixel( LogicToPixel( Size( 45, 15) )); Point aPos( rDlgSize.Width()-45-10, 5 ); aOk->SetPosPixel( LogicToPixel( aPos )); - aPos.Y() += 16; + aPos.setY( aPos.Y() + 16 ); aCancel->SetPosPixel( LogicToPixel( aPos )); aOk->SetClickHdl(LINK(this,SvRTLInputBox, OkHdl)); aCancel->SetClickHdl(LINK(this,SvRTLInputBox,CancelHdl)); @@ -123,8 +123,8 @@ void SvRTLInputBox::PositionPrompt(const OUString& rPrompt,const Size& rDlgSize) aPromptText->SetPosPixel( LogicToPixel(Point(5,5))); aPromptText->SetText( aText_ ); Size aSize( rDlgSize ); - aSize.Width() -= 70; - aSize.Height() -= 50; + aSize.setWidth( aSize.Width() - 70 ); + aSize.setHeight( aSize.Height() - 50 ); aPromptText->SetSizePixel( LogicToPixel(aSize)); } -- cgit