diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 09:52:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 10:31:17 +0200 |
commit | b2d2d72a7e401a4693cec9bbe12d8254e250ba70 (patch) | |
tree | e68054f81c21d547a0200d5ddfdb4a7f2fc660ba /basic/source/basmgr | |
parent | 72ddf425c2f565e446cc6d0b2b7f48a87fdfe611 (diff) |
loplugin:constantfunction: basic
Change-Id: I1c9a33cefb68bec978b2a922c2c3ef00f2a7a1b4
Diffstat (limited to 'basic/source/basmgr')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 224d1af368da..a1259178af96 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -2105,7 +2105,6 @@ sal_Bool DialogContainer_Impl::hasElements() { bool bRet = false; - mpLib->GetAll( SbxCLASS_OBJECT ); sal_Int16 nCount = mpLib->GetObjects()->Count(); for( sal_Int16 nObj = 0; nObj < nCount ; nObj++ ) { @@ -2142,7 +2141,6 @@ uno::Any DialogContainer_Impl::getByName( const OUString& aName ) uno::Sequence< OUString > DialogContainer_Impl::getElementNames() throw(uno::RuntimeException, std::exception) { - mpLib->GetAll( SbxCLASS_OBJECT ); sal_Int16 nCount = mpLib->GetObjects()->Count(); uno::Sequence< OUString > aRetSeq( nCount ); OUString* pRetSeq = aRetSeq.getArray(); |