summaryrefslogtreecommitdiff
path: root/include/comphelper/enumhelper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /include/comphelper/enumhelper.hxx
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'include/comphelper/enumhelper.hxx')
-rw-r--r--include/comphelper/enumhelper.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/comphelper/enumhelper.hxx b/include/comphelper/enumhelper.hxx
index b9acb584f2e6..4a13989d0897 100644
--- a/include/comphelper/enumhelper.hxx
+++ b/include/comphelper/enumhelper.hxx
@@ -69,11 +69,11 @@ public:
const staruno::Sequence< OUString >& _aNames );
virtual ~OEnumerationByName();
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception);
+ 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);
+ throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception);
+ virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -98,11 +98,11 @@ public:
OEnumerationByIndex(const staruno::Reference< starcontainer::XIndexAccess >& _rxAccess);
virtual ~OEnumerationByIndex();
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception);
+ 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);
+ throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception);
+ virtual void SAL_CALL disposing(const starlang::EventObject& aEvent) throw(staruno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
COMPHELPER_DLLPRIVATE void impl_startDisposeListening();
@@ -126,9 +126,9 @@ public:
OAnyEnumeration(const staruno::Sequence< staruno::Any >& lItems);
virtual ~OAnyEnumeration();
- virtual sal_Bool SAL_CALL hasMoreElements( ) throw(staruno::RuntimeException, std::exception);
+ 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);
+ throw(starcontainer::NoSuchElementException, starlang::WrappedTargetException, staruno::RuntimeException, std::exception) SAL_OVERRIDE;
};