diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /basic/source | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 4 | ||||
-rw-r--r-- | basic/source/classes/propacc.cxx | 4 | ||||
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 8 | ||||
-rw-r--r-- | basic/source/inc/propacc.hxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 4 |
5 files changed, 1 insertions, 21 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index df5c3610b3c5..ccc1490028cf 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1590,10 +1590,6 @@ bool BasicManager::IsBasicModified() const return false; } -std::vector<BasicError>& BasicManager::GetErrors() -{ - return aErrors; -} bool BasicManager::GetGlobalUNOConstant( const sal_Char* _pAsciiName, uno::Any& aOut ) { diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx index dbcec4c25980..9254982137d4 100644 --- a/basic/source/classes/propacc.cxx +++ b/basic/source/classes/propacc.cxx @@ -204,10 +204,6 @@ sal_Int32 PropertySetInfoImpl::GetIndex_Impl( const OUString &rPropName ) const return pP ? sal::static_int_cast<sal_Int32>( pP - _aProps.getConstArray() ) : -1; } -Sequence< Property > PropertySetInfoImpl::getProperties(void) throw() -{ - return _aProps; -} Property PropertySetInfoImpl::getPropertyByName(const OUString& Name) throw( RuntimeException ) { diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index e18156db6828..7102950e068f 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -731,10 +731,6 @@ SbxVariable* SbModule::Find( const OUString& rName, SbxClassType t ) return pRes; } -const OUString& SbModule::GetSource32() const -{ - return aOUSource; -} const OUString& SbModule::GetSource() const { @@ -1800,10 +1796,6 @@ void SbModule::GetCodeCompleteDataFromParse(CodeCompleteDataCache& aCache) } } -SbxArrayRef SbModule::GetMethods() -{ - return pMethods; -} OUString SbModule::GetKeywordCase( const OUString& sKeyword ) const { diff --git a/basic/source/inc/propacc.hxx b/basic/source/inc/propacc.hxx index 84f3f8cfcb24..db0bc7454af3 100644 --- a/basic/source/inc/propacc.hxx +++ b/basic/source/inc/propacc.hxx @@ -104,7 +104,7 @@ public: PropertySetInfoImpl( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& rProps ); // XPropertySetInfo - ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void) throw (); + ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void) throw () { return _aProps;} ::com::sun::star::beans::Property SAL_CALL getPropertyByName(const OUString& Name) throw( ::com::sun::star::uno::RuntimeException ); bool SAL_CALL hasPropertyByName(const OUString& Name) diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 4d65e4170698..0dd95d33f2bf 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -763,10 +763,6 @@ SbxDataType SbxValue::GetType() const return SbxDataType( aData.eType & 0x0FFF ); } -SbxDataType SbxValue::GetFullType() const -{ - return aData.eType; -} bool SbxValue::SetType( SbxDataType t ) { |