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 /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 'basic')
-rw-r--r-- | basic/source/classes/sb.cxx | 6 | ||||
-rw-r--r-- | basic/source/inc/sbintern.hxx | 4 | ||||
-rw-r--r-- | basic/source/inc/sbunoobj.hxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 696440604b96..676fc80d408b 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -468,7 +468,7 @@ SbxObject* SbiFactory::CreateObject( const OUString& rClass ) class SbOLEFactory : public SbxFactory { public: - virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ) override; + virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 ) override; virtual SbxObject* CreateObject( const OUString& ) override; }; @@ -490,7 +490,7 @@ SbxObject* SbOLEFactory::CreateObject( const OUString& rClassName ) class SbFormFactory : public SbxFactory { public: - virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ) override; + virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 ) override; virtual SbxObject* CreateObject( const OUString& ) override; }; @@ -593,7 +593,7 @@ SbxObject* cloneTypeObjectImpl( const SbxObject& rTypeObj ) class SbTypeFactory : public SbxFactory { public: - virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ) override; + virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 ) override; virtual SbxObject* CreateObject( const OUString& ) override; }; diff --git a/basic/source/inc/sbintern.hxx b/basic/source/inc/sbintern.hxx index de299dc630f3..a95a27fdbbab 100644 --- a/basic/source/inc/sbintern.hxx +++ b/basic/source/inc/sbintern.hxx @@ -39,7 +39,7 @@ class SbModule; class SbiFactory : public SbxFactory { public: - virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ) override; + virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 ) override; virtual SbxObject* CreateObject( const OUString& ) override; }; @@ -72,7 +72,7 @@ public: void AddClassModule( SbModule* pClassModule ); void RemoveClassModule( SbModule* pClassModule ); - virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ) override; + virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 ) override; virtual SbxObject* CreateObject( const OUString& ) override; SbModule* FindClass( const OUString& rClassName ); diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx index 7e88e5602f9c..25775b4e48d4 100644 --- a/basic/source/inc/sbunoobj.hxx +++ b/basic/source/inc/sbunoobj.hxx @@ -205,7 +205,7 @@ public: class SbUnoFactory : public SbxFactory { public: - virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ) override; + virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 ) override; virtual SbxObject* CreateObject( const OUString& ) override; }; |