diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 08:06:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 08:06:06 +0100 |
commit | fb8a3fac5d448451794804a7470be45fa14da453 (patch) | |
tree | 110395d7cf3b7ad304e34a007ea597263adcfad8 /svx | |
parent | b8ecfd83bac98ea58a435c59856da8fd94f5c6d9 (diff) |
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmcontrollayout.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmshell.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmcontrollayout.cxx b/svx/source/form/fmcontrollayout.cxx index 85061c89531f..87d1bc2dd052 100644 --- a/svx/source/form/fmcontrollayout.cxx +++ b/svx/source/form/fmcontrollayout.cxx @@ -94,7 +94,7 @@ namespace svxform if ( xChild.is() ) return getTypedModelNode< INTERFACE_TYPE >( xChild->getParent() ); else - return NULL; + return nullptr; } } diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index c8bbc1bc60bd..18a29f44c7ed 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -521,7 +521,7 @@ void FmFormShell::Execute(SfxRequest &rReq) // name, so I do not really have a big problem with this .... SfxBoolItem aGrabFocusIndicatorItem( SID_FM_TOGGLECONTROLFOCUS, true ); GetViewShell()->GetViewFrame()->GetDispatcher()->Execute( nSlot, SfxCallMode::ASYNCHRON, - &aGrabFocusIndicatorItem, NULL ); + &aGrabFocusIndicatorItem, nullptr ); } rReq.Done(); @@ -816,7 +816,7 @@ void FmFormShell::Execute(SfxRequest &rReq) // initially open the filter navigator, the whole form based filter is pretty useless without it SfxBoolItem aIdentifierItem( SID_FM_FILTER_NAVIGATOR, true ); GetViewShell()->GetViewFrame()->GetDispatcher()->Execute( SID_FM_FILTER_NAVIGATOR, SfxCallMode::ASYNCHRON, - &aIdentifierItem, NULL ); + &aIdentifierItem, nullptr ); } break; } } |