diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:23:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:38 +0100 |
commit | 28034eaf925aa50d379dd5cffccc20d7edc95aec (patch) | |
tree | 5cde1f141bc0ffc5cb04a12980d0c4bce69de0f0 /sfx2/source/appl/appdata.cxx | |
parent | d930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'sfx2/source/appl/appdata.cxx')
-rw-r--r-- | sfx2/source/appl/appdata.cxx | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx index 6bd7ac3fab3b..b2635fca95f0 100644 --- a/sfx2/source/appl/appdata.cxx +++ b/sfx2/source/appl/appdata.cxx @@ -78,51 +78,51 @@ SfxBasicManagerCreationListener::~SfxBasicManagerCreationListener() void SfxBasicManagerCreationListener::onBasicManagerCreated( const Reference< XModel >& _rxForDocument, BasicManager& _rBasicManager ) { - if ( _rxForDocument == NULL ) + if ( _rxForDocument == nullptr ) m_rAppData.OnApplicationBasicManagerCreated( _rBasicManager ); } SfxAppData_Impl::SfxAppData_Impl( SfxApplication* ) - : pDdeService( 0 ) - , pDocTopics( 0 ) - , pTriggerTopic(0) - , pDdeService2(0) - , pFactArr(0) + : pDdeService( nullptr ) + , pDocTopics( nullptr ) + , pTriggerTopic(nullptr) + , pDdeService2(nullptr) + , pFactArr(nullptr) , pTopFrames( new SfxFrameArr_Impl ) - , pMatcher( 0 ) + , pMatcher( nullptr ) #if HAVE_FEATURE_SCRIPTING - , pBasicResMgr( 0 ) + , pBasicResMgr( nullptr ) #endif - , pSvtResMgr( 0 ) - , m_pToolsErrorHdl(0) - , m_pSoErrorHdl(0) + , pSvtResMgr( nullptr ) + , m_pToolsErrorHdl(nullptr) + , m_pSoErrorHdl(nullptr) #if HAVE_FEATURE_SCRIPTING - , m_pSbxErrorHdl(0) + , m_pSbxErrorHdl(nullptr) #endif - , pAppDispatch(NULL) - , pTemplates( 0 ) - , pPool(0) - , pSaveOptions( 0 ) - , pHelpOptions( 0 ) - , pProgress(0) + , pAppDispatch(nullptr) + , pTemplates( nullptr ) + , pPool(nullptr) + , pSaveOptions( nullptr ) + , pHelpOptions( nullptr ) + , pProgress(nullptr) , nDocModalMode(0) , nAutoTabPageId(0) , nRescheduleLocks(0) , nInReschedule(0) , m_xImeStatusWindow(new sfx2::appl::ImeStatusWindow(comphelper::getProcessComponentContext())) - , pTbxCtrlFac(0) - , pStbCtrlFac(0) - , pMenuCtrlFac(0) - , pViewFrames(0) - , pViewShells(0) - , pObjShells(0) - , pSfxResManager(0) + , pTbxCtrlFac(nullptr) + , pStbCtrlFac(nullptr) + , pMenuCtrlFac(nullptr) + , pViewFrames(nullptr) + , pViewShells(nullptr) + , pObjShells(nullptr) + , pSfxResManager(nullptr) , pBasicManager( new SfxBasicManagerHolder ) , pBasMgrListener( new SfxBasicManagerCreationListener( *this ) ) - , pViewFrame( 0 ) - , pSlotPool( 0 ) - , pAppDispat( 0 ) - , pInterfaces( 0 ) + , pViewFrame( nullptr ) + , pSlotPool( nullptr ) + , pAppDispat( nullptr ) + , pInterfaces( nullptr ) , nDocNo(0) , nInterfaces( 0 ) , bDispatcherLocked( false ) |