diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:22:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:36 +0100 |
commit | de29ac09535d814e4be7e1bf0f10beb9f0f847e3 (patch) | |
tree | 139f75d657cb825622e812254b8b7df4e509140b /sc/source/ui/drawfunc/fuconstr.cxx | |
parent | 60c40af090e420a8619b5236bde1ff4ef79100c6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/ui/drawfunc/fuconstr.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/fuconstr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx index b8cc232ca08e..5318084771a1 100644 --- a/sc/source/ui/drawfunc/fuconstr.cxx +++ b/sc/source/ui/drawfunc/fuconstr.cxx @@ -133,7 +133,7 @@ bool FuConstruct::MouseButtonDown(const MouseEvent& rMEvt) SdrHdl* pHdl = pView->PickHandle(aMDPos); - if ( pHdl != NULL || pView->IsMarkedHit(aMDPos) ) + if ( pHdl != nullptr || pView->IsMarkedHit(aMDPos) ) { pView->BegDragObj(aMDPos, nullptr, pHdl, 1); bReturn = true; @@ -187,7 +187,7 @@ bool FuConstruct::MouseMove(const MouseEvent& rMEvt) { SdrHdl* pHdl=pView->PickHandle(aPnt); - if ( pHdl != NULL ) + if ( pHdl != nullptr ) { pViewShell->SetActivePointer(pHdl->GetPointer()); } |