diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:10:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:16 +0100 |
commit | 4b0a3da4c5303fc97658050cf790f956f298599a (patch) | |
tree | 43764a1843059b3cdcf2e008c6c06d6a2d8cb87b /basctl/source/inc | |
parent | 8697284d248f47dd4798f7ef49791fc7686f646d (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I27f1d5ee55338372b1c24187b63d23ae39e0a8b3
Diffstat (limited to 'basctl/source/inc')
-rw-r--r-- | basctl/source/inc/basobj.hxx | 4 | ||||
-rw-r--r-- | basctl/source/inc/bastypes.hxx | 10 | ||||
-rw-r--r-- | basctl/source/inc/sbxitem.hxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx index 6b27edb904a0..295cd96bf3a7 100644 --- a/basctl/source/inc/basobj.hxx +++ b/basctl/source/inc/basobj.hxx @@ -44,8 +44,8 @@ namespace basctl StarBASIC* FindBasic( const SbxVariable* pVar ); void StopBasic(); long HandleBasicError( StarBASIC* pBasic ); - void BasicStopped( bool* pbAppWindowDisabled = 0, bool* pbDispatcherLocked = 0, sal_uInt16* pnWaitCount = 0, - SfxUInt16Item** ppSWActionCount = 0, SfxUInt16Item** ppSWLockViewCount = 0 ); + void BasicStopped( bool* pbAppWindowDisabled = nullptr, bool* pbDispatcherLocked = nullptr, sal_uInt16* pnWaitCount = nullptr, + SfxUInt16Item** ppSWActionCount = nullptr, SfxUInt16Item** ppSWLockViewCount = nullptr ); bool IsValidSbxName( const OUString& rName ); diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx index 92ff5b5746c4..52a49b258924 100644 --- a/basctl/source/inc/bastypes.hxx +++ b/basctl/source/inc/bastypes.hxx @@ -292,11 +292,11 @@ void CutLines( OUString& rStr, sal_Int32 nStartLine, sal_Int32 nLines OUString CreateMgrAndLibStr( const OUString& rMgrName, const OUString& rLibName ); sal_uLong CalcLineCount( SvStream& rStream ); -bool QueryReplaceMacro( const OUString& rName, vcl::Window* pParent = 0 ); -bool QueryDelMacro( const OUString& rName, vcl::Window* pParent = 0 ); -bool QueryDelDialog( const OUString& rName, vcl::Window* pParent = 0 ); -bool QueryDelModule( const OUString& rName, vcl::Window* pParent = 0 ); -bool QueryDelLib( const OUString& rName, bool bRef = false, vcl::Window* pParent = 0 ); +bool QueryReplaceMacro( const OUString& rName, vcl::Window* pParent = nullptr ); +bool QueryDelMacro( const OUString& rName, vcl::Window* pParent = nullptr ); +bool QueryDelDialog( const OUString& rName, vcl::Window* pParent = nullptr ); +bool QueryDelModule( const OUString& rName, vcl::Window* pParent = nullptr ); +bool QueryDelLib( const OUString& rName, bool bRef = false, vcl::Window* pParent = nullptr ); bool QueryPassword( const css::uno::Reference< css::script::XLibraryContainer >& xLibContainer, const OUString& rLibName, OUString& rPassword, bool bRepeat = false, bool bNewTitle = false ); class ModuleInfoHelper diff --git a/basctl/source/inc/sbxitem.hxx b/basctl/source/inc/sbxitem.hxx index 37dd1ffe4e55..174fc1bb4f4e 100644 --- a/basctl/source/inc/sbxitem.hxx +++ b/basctl/source/inc/sbxitem.hxx @@ -48,7 +48,7 @@ public: SbxItem(sal_uInt16 nWhich, const ScriptDocument& rDocument, const OUString& aLibName, const OUString& aName, ItemType); SbxItem(sal_uInt16 nWhich, const ScriptDocument& rDocument, const OUString& aLibName, const OUString& aName, const OUString& aMethodName, ItemType eType); - virtual SfxPoolItem* Clone(SfxItemPool *pPool = 0) const override; + virtual SfxPoolItem* Clone(SfxItemPool *pPool = nullptr) const override; virtual bool operator==(const SfxPoolItem&) const override; ScriptDocument const& GetDocument () const { return m_aDocument; } |