diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 12:21:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 15:26:05 +0100 |
commit | 2742d8421b18f2d00bcc5147b79202973f3c11fb (patch) | |
tree | b6d30f968de75c1b20fe140708e3220e00a52bcf /svx/source/svdraw/svdpoev.cxx | |
parent | 0389ecdb4b0c3f928f5a23712cfe3572da404fde (diff) |
coverity#704339 Logically dead code
Change-Id: I944368eff5bf24bbdefd485f34bfd3a51fb1114e
Diffstat (limited to 'svx/source/svdraw/svdpoev.cxx')
-rw-r--r-- | svx/source/svdraw/svdpoev.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index c6720cde14c5..ea5f509e0b18 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -670,8 +670,6 @@ void SdrPolyEditView::MoveMarkedPoints(const Size& rSiz) AdjustMarkHdl(); } - - static void ImpResize(Point& rPt, Point* pC1, Point* pC2, const void* p1, const void* p2, const void* p3, const void* /*p4*/, const void* /*p5*/) { ResizePoint(rPt,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); @@ -679,20 +677,16 @@ static void ImpResize(Point& rPt, Point* pC1, Point* pC2, const void* p1, const if (pC2!=NULL) ResizePoint(*pC2,*(const Point*)p1,*(const Fraction*)p2,*(const Fraction*)p3); } -void SdrPolyEditView::ResizeMarkedPoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy) +void SdrPolyEditView::ResizeMarkedPoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact) { - bCopy=false; // TODO: not yet implemented ForceUndirtyMrkPnt(); OUString aStr(ImpGetResStr(STR_EditResize)); - if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); BegUndo(aStr,GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_RESIZE); ImpTransformMarkedPoints(ImpResize,&rRef,&xFact,&yFact); EndUndo(); AdjustMarkHdl(); } - - static void ImpRotate(Point& rPt, Point* pC1, Point* pC2, const void* p1, const void* /*p2*/, const void* p3, const void* p4, const void* /*p5*/) { RotatePoint(rPt,*(const Point*)p1,*(const double*)p3,*(const double*)p4); |