diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /cppu/qa/test_any.cxx | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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 'cppu/qa/test_any.cxx')
-rw-r--r-- | cppu/qa/test_any.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index b1cdd53a16d4..e022f8286266 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -88,7 +88,7 @@ private: class Impl1: public Interface1, private Base { public: virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { if (type == getCppuType< css::uno::Reference< css::uno::XInterface > >()) @@ -104,11 +104,11 @@ public: } } - virtual void SAL_CALL acquire() throw () { + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { Base::acquire(); } - virtual void SAL_CALL release() throw () { + virtual void SAL_CALL release() throw () SAL_OVERRIDE { Base::release(); } }; @@ -116,7 +116,7 @@ public: class Impl2: public Interface2a, public Interface3, private Base { public: virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { if (type == getCppuType< css::uno::Reference< css::uno::XInterface > >()) @@ -140,11 +140,11 @@ public: } } - virtual void SAL_CALL acquire() throw () { + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { Base::acquire(); } - virtual void SAL_CALL release() throw () { + virtual void SAL_CALL release() throw () SAL_OVERRIDE { Base::release(); } }; @@ -152,7 +152,7 @@ public: class Impl2b: public Interface2b, private Base { public: virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { if (type == getCppuType< css::uno::Reference< css::uno::XInterface > >()) @@ -177,11 +177,11 @@ public: } } - virtual void SAL_CALL acquire() throw () { + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { Base::acquire(); } - virtual void SAL_CALL release() throw () { + virtual void SAL_CALL release() throw () SAL_OVERRIDE { Base::release(); } }; |