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/source/fwi | |
parent | a0f21d39d74a57d7cc7f98f1868d115e769b1c17 (diff) |
update unused list
Diffstat (limited to 'framework/source/fwi')
-rw-r--r-- | framework/source/fwi/uielement/rootitemcontainer.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
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; |