summaryrefslogtreecommitdiff
path: root/javaunohelper
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 /javaunohelper
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 'javaunohelper')
-rw-r--r--javaunohelper/source/vm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/javaunohelper/source/vm.cxx b/javaunohelper/source/vm.cxx
index 9b145b4a1717..56fcfef1e642 100644
--- a/javaunohelper/source/vm.cxx
+++ b/javaunohelper/source/vm.cxx
@@ -44,7 +44,7 @@ class SingletonFactory : public MutexHolder, public t_impl
::rtl::Reference< ::jvmaccess::UnoVirtualMachine > m_vm_access;
protected:
- virtual void SAL_CALL disposing();
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
public:
inline SingletonFactory( ::rtl::Reference< ::jvmaccess::UnoVirtualMachine > const & vm_access )
@@ -55,10 +55,10 @@ public:
// XSingleComponentFactory impl
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext(
css::uno::Reference< css::uno::XComponentContext > const & xContext )
- throw (css::uno::Exception, std::exception);
+ throw (css::uno::Exception, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArgumentsAndContext(
css::uno::Sequence< css::uno::Any > const & args, css::uno::Reference< css::uno::XComponentContext > const & xContext )
- throw (css::uno::Exception, std::exception);
+ throw (css::uno::Exception, std::exception) SAL_OVERRIDE;
};
void SingletonFactory::disposing()