diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:25:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:50 +0100 |
commit | 6cd7bf2043146a630925a2e49336f02c802f707a (patch) | |
tree | 786cecd8ab993e25cda497d45b68007050c30d61 /include/svx/svddrgv.hxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'include/svx/svddrgv.hxx')
-rw-r--r-- | include/svx/svddrgv.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/svddrgv.hxx b/include/svx/svddrgv.hxx index fe3f71cfa9e0..5d39bdb91220 100644 --- a/include/svx/svddrgv.hxx +++ b/include/svx/svddrgv.hxx @@ -75,7 +75,7 @@ protected: protected: // #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView - SdrDragView(SdrModel* pModel1, OutputDevice* pOut = 0L); + SdrDragView(SdrModel* pModel1, OutputDevice* pOut = nullptr); virtual ~SdrDragView(); public: @@ -101,7 +101,7 @@ public: // If pForcedMeth is passed, then pHdl, ... is not evaluated, but this Drag // method is used. In this, the ownership of the instance passes // to the View and is destroyed at the end of the dragging. - virtual bool BegDragObj(const Point& rPnt, OutputDevice* pOut=NULL, SdrHdl* pHdl=NULL, short nMinMov=-3, SdrDragMethod* pForcedMeth=NULL); + virtual bool BegDragObj(const Point& rPnt, OutputDevice* pOut=nullptr, SdrHdl* pHdl=nullptr, short nMinMov=-3, SdrDragMethod* pForcedMeth=nullptr); void MovDragObj(const Point& rPnt); bool EndDragObj(bool bCopy=false); void BrkDragObj(); @@ -122,7 +122,7 @@ public: // Interactive insertion of a new point. nIdx=0 => in front of the first point bool IsInsObjPointPossible() const; - bool BegInsObjPoint(const Point& rPnt, bool bNewObj) { return ImpBegInsObjPoint(false, 0L, rPnt, bNewObj, 0L); } + bool BegInsObjPoint(const Point& rPnt, bool bNewObj) { return ImpBegInsObjPoint(false, 0L, rPnt, bNewObj, nullptr); } void MovInsObjPoint(const Point& rPnt) { MovDragObj(rPnt); } bool EndInsObjPoint(SdrCreateCmd eCmd); bool IsInsObjPoint() const { return mpCurrentSdrDragMethod && mbInsPolyPoint; } |