diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-18 11:06:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-19 08:18:37 +0200 |
commit | 5252d3951f2febdfc714f37ffef9f4c0794c4cec (patch) | |
tree | 9ffea1266d65c65b78d22ee60e8c830282975597 /svx/source/svdraw/svdglev.cxx | |
parent | 4625dcc13cbe6d5277e7c8bc99879b1c060796c0 (diff) |
convert SdrRepeatFunc to scoped enum
Change-Id: I7702cf3696222c3e1d2422b602bb6c8394e39d7a
Diffstat (limited to 'svx/source/svdraw/svdglev.cxx')
-rw-r--r-- | svx/source/svdraw/svdglev.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdglev.cxx b/svx/source/svdraw/svdglev.cxx index c6e8ae74c583..9f547e12bd0b 100644 --- a/svx/source/svdraw/svdglev.cxx +++ b/svx/source/svdraw/svdglev.cxx @@ -222,7 +222,7 @@ void SdrGlueEditView::DeleteMarkedGluePoints() ForceUndirtyMrkPnt(); const bool bUndo = IsUndoEnabled(); if( bUndo ) - BegUndo(ImpGetResStr(STR_EditDelete),GetDescriptionOfMarkedGluePoints(),SDRREPFUNC_OBJ_DELETE); + BegUndo(ImpGetResStr(STR_EditDelete),GetDescriptionOfMarkedGluePoints(),SdrRepeatFunc::Delete); const size_t nMarkCount=GetMarkedObjectCount(); for (size_t nm=0; nm<nMarkCount; ++nm) @@ -356,7 +356,7 @@ void SdrGlueEditView::MoveMarkedGluePoints(const Size& rSiz, bool bCopy) ForceUndirtyMrkPnt(); OUString aStr(ImpGetResStr(STR_EditMove)); if (bCopy) aStr += ImpGetResStr(STR_EditWithCopy); - BegUndo(aStr,GetDescriptionOfMarkedGluePoints(),SDRREPFUNC_OBJ_MOVE); + BegUndo(aStr,GetDescriptionOfMarkedGluePoints(),SdrRepeatFunc::Move); if (bCopy) ImpCopyMarkedGluePoints(); ImpTransformMarkedGluePoints(ImpMove,&rSiz); EndUndo(); @@ -374,7 +374,7 @@ void SdrGlueEditView::ResizeMarkedGluePoints(const Point& rRef, const Fraction& ForceUndirtyMrkPnt(); OUString aStr(ImpGetResStr(STR_EditResize)); if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); - BegUndo(aStr,GetDescriptionOfMarkedGluePoints(),SDRREPFUNC_OBJ_RESIZE); + BegUndo(aStr,GetDescriptionOfMarkedGluePoints(),SdrRepeatFunc::Resize); if (bCopy) ImpCopyMarkedGluePoints(); ImpTransformMarkedGluePoints(ImpResize,&rRef,&xFact,&yFact); EndUndo(); @@ -392,7 +392,7 @@ void SdrGlueEditView::RotateMarkedGluePoints(const Point& rRef, long nAngle, boo ForceUndirtyMrkPnt(); OUString aStr(ImpGetResStr(STR_EditRotate)); if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); - BegUndo(aStr,GetDescriptionOfMarkedGluePoints(),SDRREPFUNC_OBJ_ROTATE); + BegUndo(aStr,GetDescriptionOfMarkedGluePoints(),SdrRepeatFunc::Rotate); if (bCopy) ImpCopyMarkedGluePoints(); double nSin=sin(nAngle*nPi180); double nCos=cos(nAngle*nPi180); |