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/sdr/contact/viewobjectcontact.cxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/sdr/contact/viewobjectcontact.cxx')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontact.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx index 7ce2905c4809..8078349251fb 100644 --- a/svx/source/sdr/contact/viewobjectcontact.cxx +++ b/svx/source/sdr/contact/viewobjectcontact.cxx @@ -165,7 +165,7 @@ ViewObjectContact::ViewObjectContact(ObjectContact& rObjectContact, ViewContact& mrViewContact(rViewContact), maObjectRange(), mxPrimitive2DSequence(), - mpPrimitiveAnimation(0), + mpPrimitiveAnimation(nullptr), mbLazyInvalidate(false) { // make the ViewContact remember me @@ -187,7 +187,7 @@ ViewObjectContact::~ViewObjectContact() if(mpPrimitiveAnimation) { delete mpPrimitiveAnimation; - mpPrimitiveAnimation = 0; + mpPrimitiveAnimation = nullptr; } // take care of remembered ObjectContact. Remove from @@ -297,7 +297,7 @@ void ViewObjectContact::checkForPrimitive2DAnimations() if(mpPrimitiveAnimation) { delete mpPrimitiveAnimation; - mpPrimitiveAnimation = 0; + mpPrimitiveAnimation = nullptr; } // check for animated primitives |