From edda7dbad7e03487b75a79455a7d48198046cbfc Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Wed, 20 Aug 2014 21:42:06 +0200 Subject: starcontainer -> css::container Change-Id: Ie6e75483aa4262a5f66a4c557015af8b3c02d592 --- comphelper/source/container/enumhelper.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/container/enumhelper.cxx b/comphelper/source/container/enumhelper.cxx index 6deb6c1ab9b6..46f9a137a5b6 100644 --- a/comphelper/source/container/enumhelper.cxx +++ b/comphelper/source/container/enumhelper.cxx @@ -29,7 +29,7 @@ namespace comphelper //= OEnumerationByName -OEnumerationByName::OEnumerationByName(const css::uno::Reference& _rxAccess) +OEnumerationByName::OEnumerationByName(const css::uno::Reference& _rxAccess) :m_aNames(_rxAccess->getElementNames()) ,m_nPos(0) ,m_xAccess(_rxAccess) @@ -39,7 +39,7 @@ OEnumerationByName::OEnumerationByName(const css::uno::Reference& _rxAccess, +OEnumerationByName::OEnumerationByName(const css::uno::Reference& _rxAccess, const css::uno::Sequence< OUString >& _aNames ) :m_aNames(_aNames) ,m_nPos(0) @@ -74,7 +74,7 @@ sal_Bool SAL_CALL OEnumerationByName::hasMoreElements( ) throw(css::uno::Runtim css::uno::Any SAL_CALL OEnumerationByName::nextElement( ) - throw(starcontainer::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) + throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) { ::osl::ResettableMutexGuard aLock(m_aLock); @@ -89,7 +89,7 @@ css::uno::Any SAL_CALL OEnumerationByName::nextElement( ) } if (!aRes.hasValue()) //There are no more elements - throw starcontainer::NoSuchElementException(); + throw css::container::NoSuchElementException(); return aRes; } @@ -144,7 +144,7 @@ void OEnumerationByName::impl_stopDisposeListening() //= OEnumerationByIndex -OEnumerationByIndex::OEnumerationByIndex(const css::uno::Reference< starcontainer::XIndexAccess >& _rxAccess) +OEnumerationByIndex::OEnumerationByIndex(const css::uno::Reference< css::container::XIndexAccess >& _rxAccess) :m_nPos(0) ,m_xAccess(_rxAccess) ,m_bListening(false) @@ -177,7 +177,7 @@ sal_Bool SAL_CALL OEnumerationByIndex::hasMoreElements( ) throw(css::uno::Runti css::uno::Any SAL_CALL OEnumerationByIndex::nextElement( ) - throw(starcontainer::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) + throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) { ::osl::ResettableMutexGuard aLock(m_aLock); @@ -193,7 +193,7 @@ css::uno::Any SAL_CALL OEnumerationByIndex::nextElement( ) } if (!aRes.hasValue()) - throw starcontainer::NoSuchElementException(); + throw css::container::NoSuchElementException(); return aRes; } @@ -269,10 +269,10 @@ sal_Bool SAL_CALL OAnyEnumeration::hasMoreElements( ) throw(css::uno::RuntimeEx css::uno::Any SAL_CALL OAnyEnumeration::nextElement( ) - throw(starcontainer::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) + throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) { if ( ! hasMoreElements()) - throw starcontainer::NoSuchElementException(); + throw css::container::NoSuchElementException(); ::osl::ResettableMutexGuard aLock(m_aLock); sal_Int32 nPos = m_nPos; -- cgit