diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 12:22:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 15:26:06 +0100 |
commit | 9ebedb7eedfeb7e622038f3c1ca35c439adcf3ae (patch) | |
tree | b75be4892e36d6f1bd534a2dee067e3e51013953 /svx/source/svdraw/svdpoev.cxx | |
parent | 2742d8421b18f2d00bcc5147b79202973f3c11fb (diff) |
coverity#704340 Logically dead code
Change-Id: I785b3faa2a9e3a540c3d09a37686f9ef26643094
Diffstat (limited to 'svx/source/svdraw/svdpoev.cxx')
-rw-r--r-- | svx/source/svdraw/svdpoev.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index ea5f509e0b18..1f161663b2c6 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -694,12 +694,10 @@ static void ImpRotate(Point& rPt, Point* pC1, Point* pC2, const void* p1, const if (pC2!=NULL) RotatePoint(*pC2,*(const Point*)p1,*(const double*)p3,*(const double*)p4); } -void SdrPolyEditView::RotateMarkedPoints(const Point& rRef, long nWink, bool bCopy) +void SdrPolyEditView::RotateMarkedPoints(const Point& rRef, long nWink) { - bCopy=false; // TODO: not yet implemented ForceUndirtyMrkPnt(); OUString aStr(ImpGetResStr(STR_EditResize)); - if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); BegUndo(aStr,GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_ROTATE); double nSin=sin(nWink*nPi180); double nCos=cos(nWink*nPi180); |