diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 10:22:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 10:22:33 +0100 |
commit | 361c6eb18c9ba4043652ba91036094379aeaf05f (patch) | |
tree | d1e610a5cb59c0d7a2f467b4d7b9675cc7b658e9 /dbaccess | |
parent | 603bca03c1b546d627fa7c6fe33021690ce374c5 (diff) |
Use Size::Width/Height instead of inherited Pair::A/B
Change-Id: Ie0346d5ec054fbe7eff1d4b73814a5e2b9f654c2
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/app/AppView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/app/AppView.cxx b/dbaccess/source/ui/app/AppView.cxx index fdb2f078a478..c4b1a92908ac 100644 --- a/dbaccess/source/ui/app/AppView.cxx +++ b/dbaccess/source/ui/app/AppView.cxx @@ -245,9 +245,9 @@ void OApplicationView::resizeDocumentView(Rectangle& _rPlayground) if ( m_pWin && !_rPlayground.IsEmpty() ) { Size aFLSize = LogicToPixel( Size( 3, 3 ), MapUnit::MapAppFont ); - _rPlayground.Move( aFLSize.A(),aFLSize.B() ); + _rPlayground.Move( aFLSize.Width(),aFLSize.Height() ); Size aOldSize = _rPlayground.GetSize(); - _rPlayground.SetSize( Size(aOldSize.A() - 2*aFLSize.A(), aOldSize.B() - 2*aFLSize.B()) ); + _rPlayground.SetSize( Size(aOldSize.Width() - 2*aFLSize.Width(), aOldSize.Height() - 2*aFLSize.Height()) ); m_pWin->SetPosSizePixel(_rPlayground.TopLeft() , _rPlayground.GetSize() ); } |