diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-23 16:01:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-24 08:47:57 +0200 |
commit | c222fa9c2206e3b8b0e8cf55bf61be26e32ea2d7 (patch) | |
tree | cd5434003af4683b0b65feb843a7caa5f85dd28b /svx/source/svdraw | |
parent | 9649154f1d844c76ca134d73cd3736452f4f55d4 (diff) |
convert SdrPathSmoothKind to scoped enum
Change-Id: I9b4a4226322c4d4eb2ab220ecf0b0efb068eea8e
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r-- | svx/source/svdraw/svdpoev.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index 502a1d7036b4..d4c2e2a528e5 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -38,7 +38,7 @@ using namespace sdr; void SdrPolyEditView::ImpResetPolyPossibilityFlags() { - eMarkedPointsSmooth=SDRPATHSMOOTH_DONTCARE; + eMarkedPointsSmooth=SdrPathSmoothKind::DontCare; eMarkedSegmentsKind=SdrPathSegmentKind::DontCare; bSetMarkedPointsSmoothPossible=false; bSetMarkedSegmentsKindPossible=false; @@ -153,17 +153,17 @@ void SdrPolyEditView::CheckPolyPossibilitiesHelper( SdrMark* pM, bool& b1stSmoot { if(basegfx::B2VectorContinuity::NONE == eSmooth) { - eMarkedPointsSmooth = SDRPATHSMOOTH_ANGULAR; + eMarkedPointsSmooth = SdrPathSmoothKind::Angular; } if(basegfx::B2VectorContinuity::C1 == eSmooth) { - eMarkedPointsSmooth = SDRPATHSMOOTH_ASYMMETRIC; + eMarkedPointsSmooth = SdrPathSmoothKind::Asymmetric; } if(basegfx::B2VectorContinuity::C2 == eSmooth) { - eMarkedPointsSmooth = SDRPATHSMOOTH_SYMMETRIC; + eMarkedPointsSmooth = SdrPathSmoothKind::Symmetric; } } @@ -179,15 +179,15 @@ void SdrPolyEditView::SetMarkedPointsSmooth(SdrPathSmoothKind eKind) { basegfx::B2VectorContinuity eFlags; - if(SDRPATHSMOOTH_ANGULAR == eKind) + if(SdrPathSmoothKind::Angular == eKind) { eFlags = basegfx::B2VectorContinuity::NONE; } - else if(SDRPATHSMOOTH_ASYMMETRIC == eKind) + else if(SdrPathSmoothKind::Asymmetric == eKind) { eFlags = basegfx::B2VectorContinuity::C1; } - else if(SDRPATHSMOOTH_SYMMETRIC == eKind) + else if(SdrPathSmoothKind::Symmetric == eKind) { eFlags = basegfx::B2VectorContinuity::C2; } |