summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/servicedecl.cxx
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 /comphelper/source/misc/servicedecl.cxx
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 'comphelper/source/misc/servicedecl.cxx')
-rw-r--r--comphelper/source/misc/servicedecl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/comphelper/source/misc/servicedecl.cxx b/comphelper/source/misc/servicedecl.cxx
index 05c0aa4c7e83..fbd0a2221d0c 100644
--- a/comphelper/source/misc/servicedecl.cxx
+++ b/comphelper/source/misc/servicedecl.cxx
@@ -43,20 +43,20 @@ public:
// XServiceInfo:
virtual OUString SAL_CALL getImplementationName()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService( OUString const& name )
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (uno::RuntimeException, std::exception);
+ throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XSingleComponentFactory:
virtual uno::Reference<uno::XInterface> SAL_CALL createInstanceWithContext(
uno::Reference<uno::XComponentContext> const& xContext )
- throw (uno::Exception, std::exception);
+ throw (uno::Exception, std::exception) SAL_OVERRIDE;
virtual uno::Reference<uno::XInterface> SAL_CALL
createInstanceWithArgumentsAndContext(
uno::Sequence<uno::Any> const& args,
uno::Reference<uno::XComponentContext> const& xContext )
- throw (uno::Exception, std::exception);
+ throw (uno::Exception, std::exception) SAL_OVERRIDE;
private:
virtual ~Factory();