diff options
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 |