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/dialog/connctrl.cxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/dialog/connctrl.cxx')
-rw-r--r-- | svx/source/dialog/connctrl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/connctrl.cxx b/svx/source/dialog/connctrl.cxx index e0d8145b34a0..ff9e3bd8d3a3 100644 --- a/svx/source/dialog/connctrl.cxx +++ b/svx/source/dialog/connctrl.cxx @@ -38,9 +38,9 @@ SvxXConnectionPreview::SvxXConnectionPreview( vcl::Window* pParent, WinBits nStyle) : Control(pParent, nStyle) - , pEdgeObj(NULL) - , pObjList(NULL) - , pView(NULL) + , pEdgeObj(nullptr) + , pObjList(nullptr) + , pView(nullptr) { SetMapMode( MAP_100TH_MM ); SetStyles(); @@ -181,7 +181,7 @@ void SvxXConnectionPreview::Construct() // not yet one. if(!pObjList) { - pObjList = new SdrObjList( pView->GetModel(), NULL ); + pObjList = new SdrObjList( pView->GetModel(), nullptr ); } if( pTmpObj1 ) @@ -228,7 +228,7 @@ void SvxXConnectionPreview::Paint(vcl::RenderContext& rRenderContext, const Rect aObjectVector.push_back(pObject); } - sdr::contact::ObjectContactOfObjListPainter aPainter(rRenderContext, aObjectVector, 0); + sdr::contact::ObjectContactOfObjListPainter aPainter(rRenderContext, aObjectVector, nullptr); sdr::contact::DisplayInfo aDisplayInfo; // do processing |