summaryrefslogtreecommitdiff
path: root/vcl/win/window
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:07:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-02 07:24:36 +0100
commit312c0abcff23a5bc7cf4442359ec48187ec06d48 (patch)
tree9f4b8be273c1560018f035a73294fcab9b1476a7 /vcl/win/window
parent451ed3d595c5e2a32d820e1751e890f894832a9c (diff)
drop old tools/gen methods in vcl
Change-Id: I863ce5ae46ae90f06780261fa17b087a7153c807 Reviewed-on: https://gerrit.libreoffice.org/50445 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/win/window')
-rw-r--r--vcl/win/window/salframe.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index b3da5d53d2d1..64b073f99139 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -1605,10 +1605,10 @@ void WinSalFrame::GetWorkArea( tools::Rectangle &rRect )
{
RECT aRect;
ImplSalGetWorkArea( mhWnd, &aRect, nullptr );
- rRect.Left() = aRect.left;
- rRect.Right() = aRect.right-1;
- rRect.Top() = aRect.top;
- rRect.Bottom() = aRect.bottom-1;
+ rRect.SetLeft( aRect.left );
+ rRect.SetRight( aRect.right-1 );
+ rRect.SetTop( aRect.top );
+ rRect.SetBottom( aRect.bottom-1 );
}
void WinSalFrame::GetClientSize( long& rWidth, long& rHeight )