summaryrefslogtreecommitdiff
path: root/unotest
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 /unotest
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 'unotest')
-rw-r--r--unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx2
-rw-r--r--unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx b/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
index 553bcb970888..88edeae666a2 100644
--- a/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
+++ b/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
@@ -66,7 +66,7 @@ public:
virtual bool protect(
CppUnit::Functor const & functor,
- CppUnit::ProtectorContext const & context);
+ CppUnit::ProtectorContext const & context) SAL_OVERRIDE;
private:
uno::Reference<uno::XComponentContext> m_xContext;
};
diff --git a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
index 511da854081d..2b9d773d297f 100644
--- a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
+++ b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
@@ -54,7 +54,7 @@ public:
virtual bool protect(
CppUnit::Functor const & functor,
- CppUnit::ProtectorContext const & context);
+ CppUnit::ProtectorContext const & context) SAL_OVERRIDE;
};
bool Prot::protect(