summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview5.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-26 13:27:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 10:24:14 +0100
commit8be5a49f377e5451da953aee598fd22f9665fbd6 (patch)
treed8aad16822c91a6a3115824e3840530e4d59a012 /sc/source/ui/view/tabview5.cxx
parent814e50e6622ea9701094f3ec309a395d175c494f (diff)
drop old tools/gen.hxx methods in sc
Change-Id: I3652c0a35a6873e80ee22d908a8969d09410776b Reviewed-on: https://gerrit.libreoffice.org/50361 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r--sc/source/ui/view/tabview5.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index 59c12f27a39d..f263f3daaff3 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -668,9 +668,9 @@ void ScTabView::OnLOKNoteStateChanged(const ScPostIt* pNote)
const int nBorderSize = 200;
tools::Rectangle aInvalidRect = aRect;
aInvalidRect.AdjustLeft( -nBorderSize );
- aInvalidRect.Right() += nBorderSize;
+ aInvalidRect.AdjustRight( nBorderSize );
aInvalidRect.AdjustTop( -nBorderSize );
- aInvalidRect.Bottom() += nBorderSize;
+ aInvalidRect.AdjustBottom( nBorderSize );
SfxViewShell* pViewShell = SfxViewShell::GetFirst();
while (pViewShell)