summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 10:30:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 14:17:53 +0100
commit95fab7cbf2f0576d0f728bed8898b7ff769d90e6 (patch)
tree980278716de65d8ce15bef5d76ef085da5a950a1 /sc/source/ui/view/tabvwshg.cxx
parent603d1773a2dfea6b347f44ddacef478577098caf (diff)
loplugin:changetoolsgen in sc
Change-Id: Ic24332cac65e665b55b9e1bbaf09ee56066875fd Reviewed-on: https://gerrit.libreoffice.org/49703 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/tabvwshg.cxx')
-rw-r--r--sc/source/ui/view/tabvwshg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx
index 538ac000aed4..81eb9c9d6396 100644
--- a/sc/source/ui/view/tabvwshg.cxx
+++ b/sc/source/ui/view/tabvwshg.cxx
@@ -103,7 +103,7 @@ void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rUR
Size aSize = GetActiveWin()->PixelToLogic(Size(140, 20));
if ( pDoc->IsNegativePage(nTab) )
- aPos.X() -= aSize.Width();
+ aPos.setX( aPos.X() - aSize.Width() );
pObj->SetLogicRect(tools::Rectangle(aPos, aSize));