diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-22 22:58:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-23 09:02:23 +0100 |
commit | 17b8373171e52e6ce4c5ecf5074082f76cb36118 (patch) | |
tree | 9f3a3ff4b99458596747260c503bbecfcade8b40 /framework/source/fwi | |
parent | 8b56cbf38f086653713a7fdeafe83126d1786b93 (diff) |
callcatcher: various unused methods
Diffstat (limited to 'framework/source/fwi')
4 files changed, 0 insertions, 45 deletions
diff --git a/framework/source/fwi/classes/protocolhandlercache.cxx b/framework/source/fwi/classes/protocolhandlercache.cxx index 1a7ddf2e2be6..b6fc7e89f268 100644 --- a/framework/source/fwi/classes/protocolhandlercache.cxx +++ b/framework/source/fwi/classes/protocolhandlercache.cxx @@ -215,19 +215,6 @@ sal_Bool HandlerCache::search( const css::util::URL& aURL, ProtocolHandler* pRet } //_________________________________________________________________________________________________________________ - -sal_Bool HandlerCache::exists( const ::rtl::OUString& sURL ) const -{ - sal_Bool bFound = sal_False; - /* SAFE */{ - ReadGuard aReadLock( LockHelper::getGlobalLock() ); - PatternHash::const_iterator pItem = m_pPattern->findPatternKey(sURL); - bFound = pItem!=m_pPattern->end(); - /* SAFE */} - return bFound; -} - -//_________________________________________________________________________________________________________________ void HandlerCache::takeOver(HandlerHash* pHandler, PatternHash* pPattern) { // SAFE -> diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx index 285a7fe8f3f8..452f35319a9e 100644 --- a/framework/source/fwi/uielement/constitemcontainer.cxx +++ b/framework/source/fwi/uielement/constitemcontainer.cxx @@ -151,19 +151,6 @@ ConstItemContainer::ConstItemContainer() : ::cppu::OWeakObject() { } -ConstItemContainer::ConstItemContainer( const RootItemContainer& rRootItemContainer, sal_Bool bFastCopy ) -{ - ShareGuard( rRootItemContainer.m_aShareMutex ); - - // If bFastCopy is set the onwer of the root item container will transfer ownership to us. So - // it is possible to copy only the root part. - m_aUIName = rRootItemContainer.m_aUIName; - if ( bFastCopy ) - m_aItemVector = rRootItemContainer.m_aItemVector; - else - copyItemContainer( rRootItemContainer.m_aItemVector ); -} - ConstItemContainer::ConstItemContainer( const ItemContainer& rItemContainer ) { ShareGuard( rItemContainer.m_aShareMutex ); diff --git a/framework/source/fwi/uielement/itemcontainer.cxx b/framework/source/fwi/uielement/itemcontainer.cxx index 42dc8c2ea507..78d5f1ba093f 100644 --- a/framework/source/fwi/uielement/itemcontainer.cxx +++ b/framework/source/fwi/uielement/itemcontainer.cxx @@ -151,15 +151,6 @@ Reference< XIndexAccess > ItemContainer::deepCopyContainer( const Reference< XIn return xReturn; } -// XUnoTunnel -sal_Int64 ItemContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException) -{ - if( ( rIdentifier.getLength() == 16 ) && ( 0 == rtl_compareMemory( ItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) ) - return sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this )); - - return 0; -} - namespace { class theItemContainerUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theItemContainerUnoTunnelId > {}; diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx index b00a61805799..f4729a931888 100644 --- a/framework/source/fwi/uielement/rootitemcontainer.cxx +++ b/framework/source/fwi/uielement/rootitemcontainer.cxx @@ -95,16 +95,6 @@ RootItemContainer::RootItemContainer() { } -RootItemContainer::RootItemContainer( const ConstItemContainer& rConstItemContainer ) - : ThreadHelpBase ( ) - , ::cppu::OBroadcastHelperVar< ::cppu::OMultiTypeInterfaceContainerHelper, ::cppu::OMultiTypeInterfaceContainerHelper::keyType >( m_aLock.getShareableOslMutex() ) - , ::cppu::OPropertySetHelper ( *(static_cast< ::cppu::OBroadcastHelper* >(this)) ) - , ::cppu::OWeakObject() -{ - m_aUIName = rConstItemContainer.m_aUIName; - copyItemContainer( rConstItemContainer.m_aItemVector ); -} - RootItemContainer::RootItemContainer( const Reference< XIndexAccess >& rSourceContainer ) : ThreadHelpBase ( ) , ::cppu::OBroadcastHelperVar< ::cppu::OMultiTypeInterfaceContainerHelper, ::cppu::OMultiTypeInterfaceContainerHelper::keyType >( m_aLock.getShareableOslMutex() ) |