From 95fab7cbf2f0576d0f728bed8898b7ff769d90e6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Feb 2018 10:30:46 +0200 Subject: loplugin:changetoolsgen in sc Change-Id: Ic24332cac65e665b55b9e1bbaf09ee56066875fd Reviewed-on: https://gerrit.libreoffice.org/49703 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/view/tabvwshg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/view/tabvwshg.cxx') 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)); -- cgit