summaryrefslogtreecommitdiff
path: root/include/sfx2/viewfrm.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:23:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:38 +0100
commit28034eaf925aa50d379dd5cffccc20d7edc95aec (patch)
tree5cde1f141bc0ffc5cb04a12980d0c4bce69de0f0 /include/sfx2/viewfrm.hxx
parentd930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'include/sfx2/viewfrm.hxx')
-rw-r--r--include/sfx2/viewfrm.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index ce81492fc938..7626770bc7d3 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -73,7 +73,7 @@ class SFX2_DLLPUBLIC SfxViewFrame: public SfxShell, public SfxListener
sal_uInt16 nAdjustPosPixelLock;
private:
- SAL_DLLPRIVATE void Construct_Impl( SfxObjectShell *pObjSh=NULL );
+ SAL_DLLPRIVATE void Construct_Impl( SfxObjectShell *pObjSh=nullptr );
protected:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -84,7 +84,7 @@ protected:
virtual ~SfxViewFrame();
public:
- SfxViewFrame( SfxFrame& rFrame, SfxObjectShell *pDoc = NULL );
+ SfxViewFrame( SfxFrame& rFrame, SfxObjectShell *pDoc = nullptr );
TYPEINFO_OVERRIDE();
SFX_DECL_INTERFACE(SFX_INTERFACE_SFXVIEWFRM)
@@ -104,13 +104,13 @@ public:
static SfxViewFrame* DisplayNewDocument( SfxObjectShell& i_rDoc, const SfxRequest& i_rCreateDocRequest, const sal_uInt16 i_nViewId = 0 );
static SfxViewFrame* Current();
- static SfxViewFrame* GetFirst( const SfxObjectShell* pDoc = 0, bool bOnlyVisible = true );
- static SfxViewFrame* GetNext( const SfxViewFrame& rPrev, const SfxObjectShell* pDoc = 0, bool bOnlyVisible = true );
+ static SfxViewFrame* GetFirst( const SfxObjectShell* pDoc = nullptr, bool bOnlyVisible = true );
+ static SfxViewFrame* GetNext( const SfxViewFrame& rPrev, const SfxObjectShell* pDoc = nullptr, bool bOnlyVisible = true );
- static SfxViewFrame* Get( const css::uno::Reference< css::frame::XController>& i_rController, const SfxObjectShell* i_pDoc = NULL );
+ static SfxViewFrame* Get( const css::uno::Reference< css::frame::XController>& i_rController, const SfxObjectShell* i_pDoc = nullptr );
- void DoActivate(bool bMDI, SfxViewFrame *pOld=NULL);
- void DoDeactivate(bool bMDI, SfxViewFrame *pOld=NULL);
+ void DoActivate(bool bMDI, SfxViewFrame *pOld=nullptr);
+ void DoDeactivate(bool bMDI, SfxViewFrame *pOld=nullptr);
SfxViewFrame* GetParentViewFrame() const;
@@ -291,7 +291,7 @@ public:
{}
virtual bool operator==( const SfxPoolItem& ) const override;
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const override;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
SfxViewFrame* GetFrame() const
{ return pFrame; }
@@ -310,7 +310,7 @@ public:
SfxVerbListItem( sal_uInt16 nWhichId, const css::uno::Sequence < css::embed::VerbDescriptor >& );
virtual bool operator==( const SfxPoolItem& ) const override;
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const override;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
};