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 /include/sfx2/dispatch.hxx | |
parent | d930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'include/sfx2/dispatch.hxx')
-rw-r--r-- | include/sfx2/dispatch.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index 801d9f80ec53..17dec3243b5f 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -111,7 +111,7 @@ protected: public: SfxDispatcher( SfxDispatcher* pParent ); - SfxDispatcher( SfxViewFrame *pFrame = 0 ); + SfxDispatcher( SfxViewFrame *pFrame = nullptr ); SAL_DLLPRIVATE void Construct_Impl( SfxDispatcher* pParent ); @@ -119,9 +119,9 @@ public: const SfxPoolItem* Execute( sal_uInt16 nSlot, SfxCallMode nCall = SfxCallMode::SLOT, - const SfxPoolItem **pArgs = 0, + const SfxPoolItem **pArgs = nullptr, sal_uInt16 nModi = 0, - const SfxPoolItem **pInternalArgs = 0); + const SfxPoolItem **pInternalArgs = nullptr); const SfxPoolItem* Execute( sal_uInt16 nSlot, SfxCallMode nCall, @@ -158,9 +158,9 @@ public: static SfxPopupMenuManager* Popup( sal_uInt16 nConfigId, vcl::Window *pWin, const Point *pPos ); void ExecutePopup( const ResId &rId, - vcl::Window *pWin = 0, const Point *pPosPixel = 0 ); + vcl::Window *pWin = nullptr, const Point *pPosPixel = nullptr ); static void ExecutePopup( sal_uInt16 nConfigId = 0, - vcl::Window *pWin = 0, const Point *pPosPixel = 0 ); + vcl::Window *pWin = nullptr, const Point *pPosPixel = nullptr ); bool IsAppDispatcher() const; bool IsFlushed() const; @@ -168,7 +168,7 @@ public: void Lock( bool bLock ); bool IsLocked( sal_uInt16 nSID = 0 ) const; void SetSlotFilter( SfxSlotFilterState nEnable = SfxSlotFilterState::DISABLED, - sal_uInt16 nCount = 0, const sal_uInt16 *pSIDs = 0 ); + sal_uInt16 nCount = 0, const sal_uInt16 *pSIDs = nullptr ); void HideUI( bool bHide = true ); sal_uInt32 GetObjectBarId( sal_uInt16 nPos ) const; |