Kaydet (Commit) d4857e30 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:override

Change-Id: Ic89d255bf56234a82b23ad6cc36d8d1250acbcab
üst 9a29e2f5
...@@ -38,7 +38,7 @@ class Reference: public cppu::WeakImplHelper1< css::uno::XReference > { ...@@ -38,7 +38,7 @@ class Reference: public cppu::WeakImplHelper1< css::uno::XReference > {
public: public:
Reference(): m_disposed(false) {} 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; m_disposed = true;
handleDispose(); handleDispose();
} }
...@@ -54,14 +54,14 @@ private: ...@@ -54,14 +54,14 @@ private:
class RuntimeExceptionReference: public Reference { class RuntimeExceptionReference: public Reference {
protected: protected:
virtual void handleDispose() { void handleDispose() override {
throw css::uno::RuntimeException(); throw css::uno::RuntimeException();
} }
}; };
class DisposedExceptionReference: public Reference { class DisposedExceptionReference: public Reference {
protected: protected:
virtual void handleDispose() { void handleDispose() override {
throw css::lang::DisposedException(); throw css::lang::DisposedException();
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment