cppuhelper/qa/weak/test_weak.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d4857e30b1defde21895ece6b29c8c9829168a50
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri Nov 20 09:11:00 2015 +0100

    loplugin:override
    
    Change-Id: Ic89d255bf56234a82b23ad6cc36d8d1250acbcab

diff --git a/cppuhelper/qa/weak/test_weak.cxx b/cppuhelper/qa/weak/test_weak.cxx
index a660557..84c980e 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();
     }
 };
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to