summaryrefslogtreecommitdiff
path: root/svl/qa
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 /svl/qa
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 'svl/qa')
-rw-r--r--svl/qa/unit/svl.cxx4
-rw-r--r--svl/qa/unit/test_URIHelper.cxx20
2 files changed, 12 insertions, 12 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index a34150f4a536..dc816de1a5ec 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -48,8 +48,8 @@ public:
Test();
~Test();
- virtual void setUp();
- virtual void tearDown();
+ virtual void setUp() SAL_OVERRIDE;
+ virtual void tearDown() SAL_OVERRIDE;
void testNumberFormat();
void testSharedString();
diff --git a/svl/qa/unit/test_URIHelper.cxx b/svl/qa/unit/test_URIHelper.cxx
index aef358d1dfe2..322fe62e1c91 100644
--- a/svl/qa/unit/test_URIHelper.cxx
+++ b/svl/qa/unit/test_URIHelper.cxx
@@ -74,28 +74,28 @@ public:
css::uno::Reference< css::ucb::XContentIdentifier > const & identifier);
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL
- getIdentifier() throw (css::uno::RuntimeException, std::exception) {
+ getIdentifier() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return m_identifier;
}
virtual OUString SAL_CALL getContentType()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return OUString();
}
virtual void SAL_CALL addContentEventListener(
css::uno::Reference< css::ucb::XContentEventListener > const &)
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{}
virtual void SAL_CALL removeContentEventListener(
css::uno::Reference< css::ucb::XContentEventListener > const &)
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{}
virtual sal_Int32 SAL_CALL createCommandIdentifier()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return 0;
}
@@ -105,9 +105,9 @@ public:
css::uno::Reference< css::ucb::XCommandEnvironment > const &)
throw (
css::uno::Exception, css::ucb::CommandAbortedException,
- css::uno::RuntimeException, std::exception);
+ css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL abort(sal_Int32) throw (css::uno::RuntimeException, std::exception) {}
+ virtual void SAL_CALL abort(sal_Int32) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {}
private:
static char const m_prefix[];
@@ -173,7 +173,7 @@ class Provider: public cppu::WeakImplHelper1< css::ucb::XContentProvider > {
public:
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent(
css::uno::Reference< css::ucb::XContentIdentifier > const & identifier)
- throw (css::ucb::IllegalIdentifierException, css::uno::RuntimeException, std::exception)
+ throw (css::ucb::IllegalIdentifierException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return new Content(identifier);
}
@@ -181,7 +181,7 @@ public:
virtual sal_Int32 SAL_CALL compareContentIds(
css::uno::Reference< css::ucb::XContentIdentifier > const & id1,
css::uno::Reference< css::ucb::XContentIdentifier > const & id2)
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
assert(id1.is() && id2.is());
return
@@ -191,7 +191,7 @@ public:
class Test: public CppUnit::TestFixture {
public:
- virtual void setUp();
+ virtual void setUp() SAL_OVERRIDE;
void finish();