diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:14:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:23 +0100 |
commit | 90122cfb7e684ba7f0683f4173028406ee57b7cb (patch) | |
tree | e35f3a1e12c512006ebf4fd73d6f9ef519f3d6ea /include | |
parent | 72c48b716640c76f0a8fa49341ce3b0099004991 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I3aa15efd12b8c9b20319a1975dbbd541783aea2d
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/primitive2d/svggradientprimitive2d.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx index 85fbcc3c7ca9..98a15967f790 100644 --- a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx @@ -278,7 +278,7 @@ namespace drawinglayer double fRadius, bool bUseUnitCoordinates, SpreadMethod aSpreadMethod = Spread_pad, - const basegfx::B2DPoint* pFocal = 0); + const basegfx::B2DPoint* pFocal = nullptr); virtual ~SvgRadialGradientPrimitive2D(); /// data read access @@ -400,7 +400,7 @@ namespace drawinglayer const basegfx::BColor& getColorB() const { return maColorB; } double getScaleA() const { return mfScaleA; } double getScaleB() const { return mfScaleB; } - bool isTranslateSet() const { return (0 != mpTranslate); } + bool isTranslateSet() const { return (nullptr != mpTranslate); } basegfx::B2DVector getTranslateA() const { if(mpTranslate) return mpTranslate->maTranslateA; return basegfx::B2DVector(); } basegfx::B2DVector getTranslateB() const { if(mpTranslate) return mpTranslate->maTranslateB; return basegfx::B2DVector(); } |