diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-25 13:32:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-25 06:37:42 +0000 |
commit | b8064bdf7fabdbfd2546830f6fb8f0de6b8d4329 (patch) | |
tree | cb8c8db34a096467cf81c6ae0649a00032bb4a7f /include/basic | |
parent | 1e84b23839d96068c862e746c9162db79d2c8c62 (diff) |
new loplugin: countusersofdefaultparams
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04
Reviewed-on: https://gerrit.libreoffice.org/28353
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/basic')
-rw-r--r-- | include/basic/sbmeth.hxx | 2 | ||||
-rw-r--r-- | include/basic/sbxcore.hxx | 2 | ||||
-rw-r--r-- | include/basic/sbxfac.hxx | 2 | ||||
-rw-r--r-- | include/basic/sbxobj.hxx | 2 | ||||
-rw-r--r-- | include/basic/sbxvar.hxx | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/include/basic/sbmeth.hxx b/include/basic/sbmeth.hxx index c09c79cf9519..79199805af05 100644 --- a/include/basic/sbmeth.hxx +++ b/include/basic/sbmeth.hxx @@ -61,7 +61,7 @@ public: void GetLineRange( sal_uInt16&, sal_uInt16& ); // Interface to execute a method from the applications - ErrCode Call( SbxValue* pRet = nullptr, SbxVariable* pCaller = nullptr ); + ErrCode Call( SbxValue* pRet, SbxVariable* pCaller = nullptr ); virtual void Broadcast( sal_uInt32 nHintId ) override; }; diff --git a/include/basic/sbxcore.hxx b/include/basic/sbxcore.hxx index 25c78151da53..717aea3475df 100644 --- a/include/basic/sbxcore.hxx +++ b/include/basic/sbxcore.hxx @@ -91,7 +91,7 @@ public: static void AddFactory( SbxFactory* ); static void RemoveFactory( SbxFactory* ); - static SbxBase* Create( sal_uInt16, sal_uInt32=SBXCR_SBX ); + static SbxBase* Create( sal_uInt16, sal_uInt32 ); static SbxObject* CreateObject( const OUString& ); }; diff --git a/include/basic/sbxfac.hxx b/include/basic/sbxfac.hxx index 95139d538c64..5b3e3b4cf7b8 100644 --- a/include/basic/sbxfac.hxx +++ b/include/basic/sbxfac.hxx @@ -34,7 +34,7 @@ public: virtual ~SbxFactory(); SbxFactory( bool bLast=false ) { bHandleLast = bLast; } bool IsHandleLast() { return bHandleLast; } - virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ); + virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 ); virtual SbxObject* CreateObject( const OUString& ); }; diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx index 80449e20065c..b91056d6d09a 100644 --- a/include/basic/sbxobj.hxx +++ b/include/basic/sbxobj.hxx @@ -78,7 +78,7 @@ public: SbxArray* GetProperties() { return pProps; } SbxArray* GetObjects() { return pObjs; } // Debugging - void Dump( SvStream&, bool bDumpAll=false ); + void Dump( SvStream&, bool bDumpAll ); }; #endif // INCLUDED_BASIC_SBXOBJ_HXX diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index c90e98b687c5..1cdac7c7414c 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -174,7 +174,7 @@ public: bool Convert( SbxDataType ); bool Compute( SbxOperator, const SbxValue& ); bool Compare( SbxOperator, const SbxValue& ) const; - bool Scan( const OUString&, sal_uInt16* = nullptr ); + bool Scan( const OUString&, sal_uInt16* ); void Format( OUString&, const OUString* = nullptr ) const; // The following operators are definied for easier handling. @@ -246,7 +246,7 @@ public: SbxVariable( const SbxVariable& ); SbxVariable& operator=( const SbxVariable& ); - void Dump( SvStream&, bool bDumpAll=false ); + void Dump( SvStream&, bool bDumpAll ); void SetName( const OUString& ); const OUString& GetName( SbxNameType = SbxNAME_NONE ) const; |