diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-23 13:07:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 07:59:06 +0200 |
commit | ac45764b05385a51d469fda2e4bf9233904ca5a9 (patch) | |
tree | 94605a61e6933b3e8f1d0073b790645f04a51d5e /include/svx/AccessibleControlShape.hxx | |
parent | fe22bdc3b537afa8ebcb5cb057542b762c770722 (diff) |
loplugin:finalclasses in svx
Change-Id: I74296e2185902498cd569ecde83905f718a41e84
Reviewed-on: https://gerrit.libreoffice.org/43715
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/AccessibleControlShape.hxx')
-rw-r--r-- | include/svx/AccessibleControlShape.hxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/include/svx/AccessibleControlShape.hxx b/include/svx/AccessibleControlShape.hxx index a3c28a5da164..5b20b105ef1e 100644 --- a/include/svx/AccessibleControlShape.hxx +++ b/include/svx/AccessibleControlShape.hxx @@ -72,7 +72,7 @@ namespace accessibility { > AccessibleControlShape_Base; /** @descr */ -class AccessibleControlShape +class AccessibleControlShape final :public AccessibleShape ,public AccessibleControlShape_Base { @@ -85,8 +85,8 @@ public: const css::uno::Reference< css::beans::XPropertySet >& SAL_CALL GetControlModel( ) { return m_xControlModel;} ; AccessibleControlShape* SAL_CALL GetLabeledByControlShape(); -protected: +private: //--- XAccessibleComponent ------------------------------- /// forward the focus to the contained control(in alive mode) virtual void SAL_CALL grabFocus( ) override; @@ -128,7 +128,6 @@ protected: virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) override; virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) override; -protected: /** Initialize a new shape. See the documentation of the base' constructor for the reason of this method's existence. */ @@ -182,7 +181,9 @@ protected: */ void initializeComposedState( ); -private: + AccessibleControlShape(const AccessibleControlShape&) = delete; + AccessibleControlShape& operator= (const AccessibleControlShape&) = delete; + css::uno::Reference< css::beans::XPropertySet > m_xControlModel; css::uno::Reference< css::beans::XPropertySetInfo > @@ -207,11 +208,6 @@ private: bool m_bMultiplexingStates : 1; // are we currently multiplexing state changes of the native context? bool m_bDisposeNativeContext : 1; // do we need to dispose mxNativeContextComponent? bool m_bWaitingForControl : 1; // if we are created before our control exists, we need to wait for it to appear ... - -private: - AccessibleControlShape(const AccessibleControlShape&) = delete; - - AccessibleControlShape& operator= (const AccessibleControlShape&) = delete; }; } // end of namespace accessibility |