summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 08:55:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-28 11:13:21 +0100
commitde6f36cc2fb359332205ba836f8396a1cdbe44c2 (patch)
treea7b4dfcd77bffe4ca90c2f5763aa5ef9b20a5c39 /sfx2
parent1d39c5aa7bd6419060ed10d9fbdc2a643000f363 (diff)
simplify reset(nullptr) -> reset()
Change-Id: Iec5e93d9c59dde44571376e46fb98ea854e16b6c Reviewed-on: https://gerrit.libreoffice.org/69784 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appquit.cxx2
-rw-r--r--sfx2/source/doc/objxtor.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index 76474457f84c..77e27606f8ee 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -90,7 +90,7 @@ void SfxApplication::Deinitialize()
#if HAVE_FEATURE_SCRIPTING
BasicManagerRepository::resetApplicationBasicManager();
- pImpl->pBasicManager->reset( nullptr );
+ pImpl->pBasicManager->reset(nullptr);
// this will also delete pBasMgr
#endif
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 4bf33375a479..dc99a84414a8 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -316,7 +316,7 @@ SfxObjectShell::~SfxObjectShell()
pSfxApp->ReleaseIndex(pImpl->nVisualDocumentNumber);
// Destroy Basic-Manager
- pImpl->aBasicManager.reset( nullptr );
+ pImpl->aBasicManager.reset(nullptr);
if ( pSfxApp && pSfxApp->GetDdeService() )
pSfxApp->RemoveDdeTopic( this );