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 /svx/source/engine3d/obj3d.cxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/engine3d/obj3d.cxx')
-rw-r--r-- | svx/source/engine3d/obj3d.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx index 5181ac2c2a41..203455dcb7e3 100644 --- a/svx/source/engine3d/obj3d.cxx +++ b/svx/source/engine3d/obj3d.cxx @@ -228,7 +228,7 @@ bool E3dObject::IsBreakObjPossible() SdrAttrObj* E3dObject::GetBreakObj() { - return 0L; + return nullptr; } // SetRectsDirty must be done through the local SdrSubList @@ -503,7 +503,7 @@ void E3dObject::Remove3DObj(E3dObject* p3DObj) E3dObject* E3dObject::GetParentObj() const { - E3dObject* pRetval = NULL; + E3dObject* pRetval = nullptr; if(GetObjList() && GetObjList()->GetOwnerObj() @@ -518,7 +518,7 @@ E3dScene* E3dObject::GetScene() const { if(GetParentObj()) return GetParentObj()->GetScene(); - return NULL; + return nullptr; } // Calculate enclosed volume, including all child objects @@ -659,7 +659,7 @@ void E3dObject::SetTransform(const basegfx::B3DHomMatrix& rMatrix) NbcSetTransform(rMatrix); SetChanged(); BroadcastObjectChange(); - if (pUserCall != NULL) pUserCall->Changed(*this, SDRUSERCALL_RESIZE, Rectangle()); + if (pUserCall != nullptr) pUserCall->Changed(*this, SDRUSERCALL_RESIZE, Rectangle()); } } |