summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewoverlaymanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewoverlaymanager.cxx')
-rw-r--r--sd/source/ui/view/viewoverlaymanager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx
index 63f68347e5d7..7db5e61a6929 100644
--- a/sd/source/ui/view/viewoverlaymanager.cxx
+++ b/sd/source/ui/view/viewoverlaymanager.cxx
@@ -384,8 +384,8 @@ void ChangePlaceholderTag::addCustomHandles( SdrHdlList& rHandlerList )
long all_height = nRows * aButtonSize.Height();
Point aPos( rSnapRect.Center() );
- aPos.setX( aPos.X() - (all_width >> 1) );
- aPos.setY( aPos.Y() - (all_height >> 1) );
+ aPos.X() -= all_width >> 1;
+ aPos.Y() -= all_height >> 1;
ImageButtonHdl* pHdl = new ImageButtonHdl( xThis, aPoint );
pHdl->SetObjHdlNum( SMART_TAG_HDL_NUM );