diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-12 13:43:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-13 10:07:49 +0200 |
commit | 1716b3a338b19b9d1be39696866b376aed216c9a (patch) | |
tree | bf5c22d411039156cc40365db41b83b9ed770ab0 /svx | |
parent | d6f97a21249668fe401dfcbf1827669c1bb0f043 (diff) |
remove some useless comments
found with git grep '// /'
Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svddrgmt.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx index 604544352bdc..f1af9617e50c 100644 --- a/svx/source/svdraw/svddrgmt.cxx +++ b/svx/source/svdraw/svddrgmt.cxx @@ -4021,21 +4021,6 @@ bool SdrDragCrop::EndSdrDrag(bool /*bCopy*/) double fScaleX = ( aGraphicSize.Width() - rOldCrop.GetLeft() - rOldCrop.GetRight() ) / (double)aOldRect.GetWidth(); double fScaleY = ( aGraphicSize.Height() - rOldCrop.GetTop() - rOldCrop.GetBottom() ) / (double)aOldRect.GetHeight(); - // not needed since the modification is done in unit coordinates, free from shear/rotate and mirror - // // TTTT may be removed or exchanged by other stuff in aw080 - // // to correct the never working combination of cropped images and mirroring - // // I have to correct the rectangles the calculation is based on here. In the current - // // core geometry stuff a vertical mirror is expressed as 180 degree rotation. All - // // this can be removed again when aw080 will have cleaned up the old - // // (non-)transformation mess in the core. - // if(18000 == pObj->GetGeoStat().nRotationAngle) - // { - // // old notation of vertical mirror, need to correct diffs since both rects - // // are rotated by 180 degrees - // aOldRect = Rectangle(aOldRect.TopLeft() - (aOldRect.BottomRight() - aOldRect.TopLeft()), aOldRect.TopLeft()); - // aNewRect = Rectangle(aNewRect.TopLeft() - (aNewRect.BottomRight() - aNewRect.TopLeft()), aNewRect.TopLeft()); - // } - sal_Int32 nDiffLeft = aNewRect.Left() - aOldRect.Left(); sal_Int32 nDiffTop = aNewRect.Top() - aOldRect.Top(); sal_Int32 nDiffRight = aNewRect.Right() - aOldRect.Right(); |