summaryrefslogtreecommitdiff
path: root/include/comphelper/enumhelper.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-20 21:30:16 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-21 09:03:18 +0200
commit007099ea3283bedfb0fe9a4c10f7331f8fc8bb73 (patch)
tree8c6dd1a512a8aaea6e46e70e04fe8d618384ef64 /include/comphelper/enumhelper.hxx
parent8fd3b0945607816fc7a73cec4eeb5c045bc2a450 (diff)
comphelper: staruno -> css::uno
Change-Id: I21991280c5b7e4c6d0c200f4489c89a9f4fbc385
Diffstat (limited to 'include/comphelper/enumhelper.hxx')
-rw-r--r--include/comphelper/enumhelper.hxx41
1 files changed, 20 insertions, 21 deletions
diff --git a/include/comphelper/enumhelper.hxx b/include/comphelper/enumhelper.hxx
index 4a13989d0897..ce3de4f8e32a 100644
--- a/include/comphelper/enumhelper.hxx
+++ b/include/comphelper/enumhelper.hxx
@@ -36,7 +36,6 @@ namespace comphelper
namespace starcontainer = ::com::sun::star::container;
- namespace staruno = ::com::sun::star::uno;
namespace starlang = ::com::sun::star::lang;
@@ -58,22 +57,22 @@ class COMPHELPER_DLLPUBLIC OEnumerationByName : private OEnumerationLock
, public ::cppu::WeakImplHelper2< starcontainer::XEnumeration ,
starlang::XEventListener >
{
- staruno::Sequence< OUString > m_aNames;
+ css::uno::Sequence< OUString > m_aNames;
sal_Int32 m_nPos;
- staruno::Reference< starcontainer::XNameAccess > m_xAccess;
+ css::uno::Reference< starcontainer::XNameAccess > m_xAccess;
bool m_bListening;
public:
- OEnumerationByName(const staruno::Reference< starcontainer::XNameAccess >& _rxAccess);
- OEnumerationByName(const staruno::Reference< starcontainer::XNameAccess >& _rxAccess,
- const staruno::Sequence< OUString >& _aNames );
+ OEnumerationByName(const css::uno::Reference< starcontainer::XNameAccess >& _rxAccess);
+ OEnumerationByName(const css::uno::Reference< starcontainer::XNameAccess >& _rxAccess,
+ const css::uno::Sequence< OUString >& _aNames );
virtual ~OEnumerationByName();
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual staruno::Any SAL_CALL nextElement( )
- throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL nextElement( )
+ throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -91,18 +90,18 @@ class COMPHELPER_DLLPUBLIC OEnumerationByIndex : private OEnumerationLock
starlang::XEventListener >
{
sal_Int32 m_nPos;
- staruno::Reference< starcontainer::XIndexAccess > m_xAccess;
+ css::uno::Reference< starcontainer::XIndexAccess > m_xAccess;
bool m_bListening;
public:
- OEnumerationByIndex(const staruno::Reference< starcontainer::XIndexAccess >& _rxAccess);
+ OEnumerationByIndex(const css::uno::Reference< starcontainer::XIndexAccess >& _rxAccess);
virtual ~OEnumerationByIndex();
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual staruno::Any SAL_CALL nextElement( )
- throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL nextElement( )
+ throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -120,15 +119,15 @@ class COMPHELPER_DLLPUBLIC OAnyEnumeration : private OEnumerationLock
, public ::cppu::WeakImplHelper1< starcontainer::XEnumeration >
{
sal_Int32 m_nPos;
- staruno::Sequence< staruno::Any > m_lItems;
+ css::uno::Sequence< css::uno::Any > m_lItems;
public:
- OAnyEnumeration(const staruno::Sequence< staruno::Any >& lItems);
+ OAnyEnumeration(const css::uno::Sequence< css::uno::Any >& lItems);
virtual ~OAnyEnumeration();
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual staruno::Any SAL_CALL nextElement( )
- throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL nextElement( )
+ throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};