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/svdraw/sdrpagewindow.cxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/svdraw/sdrpagewindow.cxx')
-rw-r--r-- | svx/source/svdraw/sdrpagewindow.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx index 00fc659aada2..9b8f4aa3790d 100644 --- a/svx/source/svdraw/sdrpagewindow.cxx +++ b/svx/source/svdraw/sdrpagewindow.cxx @@ -58,10 +58,10 @@ struct SdrPageWindow::Impl uno::Reference<awt::XControlContainer> mxControlContainer; Impl( SdrPageView& rPageView, SdrPaintWindow& rPaintWindow ) : - mpObjectContact(NULL), + mpObjectContact(nullptr), mrPageView(rPageView), mpPaintWindow(&rPaintWindow), - mpOriginalPaintWindow(NULL) + mpOriginalPaintWindow(nullptr) { } @@ -187,7 +187,7 @@ void SdrPageWindow::unpatchPaintWindow() if (mpImpl->mpOriginalPaintWindow) { mpImpl->mpPaintWindow = mpImpl->mpOriginalPaintWindow; - mpImpl->mpOriginalPaintWindow = NULL; + mpImpl->mpOriginalPaintWindow = nullptr; } } @@ -345,7 +345,7 @@ void SdrPageWindow::RedrawAll( sdr::contact::ViewObjectContactRedirector* pRedir } // reset redirector - GetObjectContact().SetViewObjectContactRedirector(0L); + GetObjectContact().SetViewObjectContactRedirector(nullptr); // LineClip test #ifdef CLIPPER_TEST @@ -404,7 +404,7 @@ void SdrPageWindow::RedrawLayer( const SdrLayerID* pId, sdr::contact::ViewObject } // reset redirector - GetObjectContact().SetViewObjectContactRedirector(0L); + GetObjectContact().SetViewObjectContactRedirector(nullptr); } // Invalidate call, used from ObjectContact(OfPageView) in InvalidatePartOfView(...) @@ -456,7 +456,7 @@ sdr::contact::ObjectContact& SdrPageWindow::GetObjectContact() bool SdrPageWindow::HasObjectContact() const { - return mpImpl->mpObjectContact != NULL; + return mpImpl->mpObjectContact != nullptr; } // #i26631# @@ -465,7 +465,7 @@ void SdrPageWindow::ResetObjectContact() if (mpImpl->mpObjectContact) { delete mpImpl->mpObjectContact; - mpImpl->mpObjectContact = 0L; + mpImpl->mpObjectContact = nullptr; } } |