diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-23 13:50:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-23 14:02:54 +0100 |
commit | 1d1d886747ce9a7c90ac6499c9111d2cb5b9d1d5 (patch) | |
tree | c378d29899050860003b72f998afd1572a1f0c81 /framework | |
parent | a0f21d39d74a57d7cc7f98f1868d115e769b1c17 (diff) |
update unused list
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/uielement/rootitemcontainer.hxx | 1 | ||||
-rw-r--r-- | framework/source/fwi/uielement/rootitemcontainer.cxx | 27 |
2 files changed, 0 insertions, 28 deletions
diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx index 43ee41cc1cbc..0fd18a5c92c0 100644 --- a/framework/inc/uielement/rootitemcontainer.hxx +++ b/framework/inc/uielement/rootitemcontainer.hxx @@ -142,7 +142,6 @@ class RootItemContainer : public ::com::sun::star::lang::XTypeProvider RootItemContainer& operator=( const RootItemContainer& ); RootItemContainer( const RootItemContainer& ); - void copyItemContainer( const std::vector< com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > >& rSourceVector ); com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess > deepCopyContainer( const com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess >& rSubContainer ); mutable ShareableMutex m_aShareMutex; diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx index f4729a931888..67f9047334b9 100644 --- a/framework/source/fwi/uielement/rootitemcontainer.cxx +++ b/framework/source/fwi/uielement/rootitemcontainer.cxx @@ -153,33 +153,6 @@ RootItemContainer::~RootItemContainer() { } -// private -void RootItemContainer::copyItemContainer( const std::vector< Sequence< PropertyValue > >& rSourceVector ) -{ - const sal_uInt32 nCount = rSourceVector.size(); - m_aItemVector.reserve(nCount); - for ( sal_uInt32 i = 0; i < nCount; i++ ) - { - sal_Int32 nContainerIndex = -1; - Sequence< PropertyValue > aPropSeq( rSourceVector[i] ); - Reference< XIndexAccess > xIndexAccess; - for ( sal_Int32 j = 0; j < aPropSeq.getLength(); j++ ) - { - if ( aPropSeq[j].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ItemDescriptorContainer" ) )) - { - aPropSeq[j].Value >>= xIndexAccess; - nContainerIndex = j; - break; - } - } - - if ( xIndexAccess.is() && nContainerIndex >= 0 ) - aPropSeq[nContainerIndex].Value <<= deepCopyContainer( xIndexAccess ); - - m_aItemVector.push_back( aPropSeq ); - } -} - Reference< XIndexAccess > RootItemContainer::deepCopyContainer( const Reference< XIndexAccess >& rSubContainer ) { Reference< XIndexAccess > xReturn; |