diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-07-07 10:56:48 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-07-07 10:56:48 +0000 |
commit | d953e0f05ca7fb1a24293e20bd83c0fbb052aed3 (patch) | |
tree | 18acc4cb56d71714b346f76a436bd2d94e66cbfb /scripting | |
parent | b5e38919c1b5fd6f00bfcfd9386cb57e1a662f9a (diff) |
INTEGRATION: CWS ab53 (1.15.12); FILE MERGED
2008/06/06 12:39:58 ab 1.15.12.1: #i90005# Removed unused code
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/provider/ActiveMSPList.cxx | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx index 80d186399a..cc72445347 100644 --- a/scripting/source/provider/ActiveMSPList.cxx +++ b/scripting/source/provider/ActiveMSPList.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ActiveMSPList.cxx,v $ - * $Revision: 1.15 $ + * $Revision: 1.16 $ * * This file is part of OpenOffice.org. * @@ -80,34 +80,6 @@ ActiveMSPList::createNewMSP( const uno::Any& context ) return msp; } -Sequence < Reference< provider::XScriptProvider > > -ActiveMSPList::getActiveProviders() -{ - ::osl::MutexGuard guard( m_mutex ); - - sal_Int32 numChildNodes = m_hMsps.size() + m_mScriptComponents.size(); - // get providers for application - Msp_hash::iterator h_itEnd = m_hMsps.end(); - Sequence< Reference< provider::XScriptProvider > > children( numChildNodes ); - sal_Int32 count = 0; - - - for ( Msp_hash::iterator h_it = m_hMsps.begin(); h_it != h_itEnd; ++h_it ) - { - children[ count++ ] = h_it->second; - } - - // get providers for active documents - ScriptComponent_map::iterator m_itEnd = m_mScriptComponents.end(); - - for ( ScriptComponent_map::iterator m_it = m_mScriptComponents.begin(); m_it != m_itEnd; ++m_it ) - { - children[ count++ ] = m_it->second; - } - return children; -} - - Reference< provider::XScriptProvider > ActiveMSPList::getMSPFromAnyContext( const Any& aContext ) SAL_THROW(( lang::IllegalArgumentException, RuntimeException )) |