summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:12:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-28 12:47:31 +0100
commitefe22f3fa2375c233b86d9a4556e2cd7eed85f9d (patch)
tree6c8283a52080c266f54ea416befd31d3f7456893 /sfx2
parent398d10a506f9f1c4109d012f22f0e85ee571fe9f (diff)
drop old tools/gen methods in reportdesign..xmloff
Change-Id: I398831c526ba51d861557fa6c13c0e2fb44dfbe0 Reviewed-on: https://gerrit.libreoffice.org/50447 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/workwin.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 1da8891f4146..1f8ad2a573c9 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -828,7 +828,8 @@ SvBorder SfxWorkWindow::Arrange_Impl()
{
aBorder.Left() = aClientArea.Left();
aBorder.Right() = aClientArea.Right();
- aClientArea.Right() = aClientArea.Left() = aTmp.Left();
+ aClientArea.SetRight( aTmp.Left() );
+ aClientArea.SetLeft( aTmp.Left() );
}
if ( aClientArea.GetHeight() >= aBorder.Top() + aBorder.Bottom() )
@@ -840,7 +841,8 @@ SvBorder SfxWorkWindow::Arrange_Impl()
{
aBorder.Top() = aClientArea.Top();
aBorder.Bottom() = aClientArea.Bottom();
- aClientArea.Top() = aClientArea.Bottom() = aTmp.Top();
+ aClientArea.SetTop(aTmp.Top());
+ aClientArea.SetBottom(aTmp.Top());
}
return IsDockingAllowed() ? aBorder : SvBorder();