diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-03 12:54:32 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-04 08:30:24 +0200 |
commit | 1d92933d96d94819fa3a4ae2de9519874f9b92b6 (patch) | |
tree | 8b43292fd1950be75ce05c726696310eaf12e747 /svx | |
parent | 397a0afd3b3dd597f23bfbc75543eaead8bab5d2 (diff) |
convert B2VectorContinuity to scoped enum
Change-Id: Ifa401dd0d2d1bef8c0ae2987d2aee86100b59816
Diffstat (limited to 'svx')
-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 9d559ff5af4f..a4fa289e73ea 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -72,7 +72,7 @@ void SdrPolyEditView::ImpCheckPolyPossibilities() bool bCurve(false); bool bSmoothFuz(false); bool bSegmFuz(false); - basegfx::B2VectorContinuity eSmooth = basegfx::CONTINUITY_NONE; + basegfx::B2VectorContinuity eSmooth = basegfx::B2VectorContinuity::NONE; for(size_t nMarkNum = 0; nMarkNum < nMarkCount; ++nMarkNum) { @@ -152,17 +152,17 @@ void SdrPolyEditView::CheckPolyPossibilitiesHelper( SdrMark* pM, bool& b1stSmoot if(!b1stSmooth && !bSmoothFuz) { - if(basegfx::CONTINUITY_NONE == eSmooth) + if(basegfx::B2VectorContinuity::NONE == eSmooth) { eMarkedPointsSmooth = SDRPATHSMOOTH_ANGULAR; } - if(basegfx::CONTINUITY_C1 == eSmooth) + if(basegfx::B2VectorContinuity::C1 == eSmooth) { eMarkedPointsSmooth = SDRPATHSMOOTH_ASYMMETRIC; } - if(basegfx::CONTINUITY_C2 == eSmooth) + if(basegfx::B2VectorContinuity::C2 == eSmooth) { eMarkedPointsSmooth = SDRPATHSMOOTH_SYMMETRIC; } @@ -182,15 +182,15 @@ void SdrPolyEditView::SetMarkedPointsSmooth(SdrPathSmoothKind eKind) if(SDRPATHSMOOTH_ANGULAR == eKind) { - eFlags = basegfx::CONTINUITY_NONE; + eFlags = basegfx::B2VectorContinuity::NONE; } else if(SDRPATHSMOOTH_ASYMMETRIC == eKind) { - eFlags = basegfx::CONTINUITY_C1; + eFlags = basegfx::B2VectorContinuity::C1; } else if(SDRPATHSMOOTH_SYMMETRIC == eKind) { - eFlags = basegfx::CONTINUITY_C2; + eFlags = basegfx::B2VectorContinuity::C2; } else { |