summaryrefslogtreecommitdiffstats
path: root/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-12 16:48:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-13 07:38:03 +0100
commit1adb1a320a7e9832a41545bde13fd59d27ce7954 (patch)
tree1a36f83ce9ab9fee7f904d8ce210a2ee96f5ab76 /basic
parentuse RawBitmap in RASReader (diff)
downloadcore-1adb1a320a7e9832a41545bde13fd59d27ce7954.tar.gz
core-1adb1a320a7e9832a41545bde13fd59d27ce7954.zip
loplugin:changetoolsgen in avmedia..basic
Change-Id: I4e355ae27b9fad1cc6e8f8f408dbd9e93d7256d7 Reviewed-on: https://gerrit.libreoffice.org/49603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/inputbox.cxx6
1 files changed, 3 insertions, 3 deletions
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));
}