diff options
Diffstat (limited to 'drawinglayer/source/primitive2d/svggradientprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/svggradientprimitive2d.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx index 9721e4e06c85..0f70c0f20326 100644 --- a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx @@ -953,7 +953,7 @@ namespace drawinglayer if(mfOffsetA > mfOffsetB) { OSL_ENSURE(false, "Wrong offset order (!)"); - ::std::swap(mfOffsetA, mfOffsetB); + std::swap(mfOffsetA, mfOffsetB); } } @@ -1054,18 +1054,18 @@ namespace drawinglayer } // scale A and B have to be positive - mfScaleA = ::std::max(mfScaleA, 0.0); - mfScaleB = ::std::max(mfScaleB, 0.0); + mfScaleA = std::max(mfScaleA, 0.0); + mfScaleB = std::max(mfScaleB, 0.0); // scale B has to be bigger than scale A; swap if different if(mfScaleA > mfScaleB) { OSL_ENSURE(false, "Wrong offset order (!)"); - ::std::swap(mfScaleA, mfScaleB); + std::swap(mfScaleA, mfScaleB); if(mpTranslate) { - ::std::swap(mpTranslate->maTranslateA, mpTranslate->maTranslateB); + std::swap(mpTranslate->maTranslateA, mpTranslate->maTranslateB); } } } @@ -1081,14 +1081,14 @@ namespace drawinglayer mpTranslate(nullptr) { // scale A and B have to be positive - mfScaleA = ::std::max(mfScaleA, 0.0); - mfScaleB = ::std::max(mfScaleB, 0.0); + mfScaleA = std::max(mfScaleA, 0.0); + mfScaleB = std::max(mfScaleB, 0.0); // scale B has to be bigger than scale A; swap if different if(mfScaleA > mfScaleB) { OSL_ENSURE(false, "Wrong offset order (!)"); - ::std::swap(mfScaleA, mfScaleB); + std::swap(mfScaleA, mfScaleB); } } |