summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-20 09:11:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-20 09:11:00 +0100
commitd4857e30b1defde21895ece6b29c8c9829168a50 (patch)
treec4f96f748425b656eebe3980fbb2e16ace7f78f5 /cppuhelper
parent9a29e2f539fe3ca21229d6073455a736c64cc4e8 (diff)
loplugin:override
Change-Id: Ic89d255bf56234a82b23ad6cc36d8d1250acbcab
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/qa/weak/test_weak.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/qa/weak/test_weak.cxx b/cppuhelper/qa/weak/test_weak.cxx
index a6605579099b..84c980efb2b5 100644
--- a/cppuhelper/qa/weak/test_weak.cxx
+++ b/cppuhelper/qa/weak/test_weak.cxx
@@ -38,7 +38,7 @@ class Reference: public cppu::WeakImplHelper1< css::uno::XReference > {
public:
Reference(): m_disposed(false) {}
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException) {
+ void SAL_CALL dispose() throw (css::uno::RuntimeException) override {
m_disposed = true;
handleDispose();
}
@@ -54,14 +54,14 @@ private:
class RuntimeExceptionReference: public Reference {
protected:
- virtual void handleDispose() {
+ void handleDispose() override {
throw css::uno::RuntimeException();
}
};
class DisposedExceptionReference: public Reference {
protected:
- virtual void handleDispose() {
+ void handleDispose() override {
throw css::lang::DisposedException();
}
};