diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 11:03:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 13:41:17 +0200 |
commit | b4c890cb65745d05f92e451bb675fc0b2c5e31dc (patch) | |
tree | e8e772bb3e7f124f6602c43289be117df662d7ea /starmath/source | |
parent | 49b338b76020682328acbb76cacf82b7699d8891 (diff) |
loplugin:finalclasses in sfx2..svl
Change-Id: I71b78135b3d0259657438c4401340bb35ab5c6e0
Reviewed-on: https://gerrit.libreoffice.org/43742
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/accessibility.hxx | 3 | ||||
-rw-r--r-- | starmath/source/cfgitem.hxx | 5 | ||||
-rw-r--r-- | starmath/source/mathmlexport.hxx | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx index 9f3755a7f377..e2ed62cc8dce 100644 --- a/starmath/source/accessibility.hxx +++ b/starmath/source/accessibility.hxx @@ -56,7 +56,7 @@ cppu::WeakImplHelper > SmGraphicAccessibleBaseClass; -class SmGraphicAccessible : +class SmGraphicAccessible final : public SmGraphicAccessibleBaseClass { OUString aAccName; @@ -68,7 +68,6 @@ class SmGraphicAccessible : SmGraphicAccessible( const SmGraphicAccessible & ) = delete; SmGraphicAccessible & operator = ( const SmGraphicAccessible & ) = delete; -protected: SmDocShell * GetDoc_Impl(); OUString GetAccessibleText_Impl(); diff --git a/starmath/source/cfgitem.hxx b/starmath/source/cfgitem.hxx index 3bba6bf8cfd3..fc12cfacc18b 100644 --- a/starmath/source/cfgitem.hxx +++ b/starmath/source/cfgitem.hxx @@ -92,7 +92,7 @@ public: void SetModified( bool bVal ) { bModified = bVal; } }; -class SmMathConfig : public utl::ConfigItem, public SfxBroadcaster +class SmMathConfig final : public utl::ConfigItem, public SfxBroadcaster { std::unique_ptr<SmFormat> pFormat; std::unique_ptr<SmCfgOther> pOther; @@ -117,9 +117,8 @@ class SmMathConfig : public utl::ConfigItem, public SfxBroadcaster const OUString &rSymbolName, const OUString &rBaseNode ) const; - void SetOtherIfNotEqual( bool &rbItem, bool bNewVal ); + void SetOtherIfNotEqual( bool &rbItem, bool bNewVal ); -protected: void LoadOther(); void SaveOther(); void LoadFormat(); diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx index 62139209cce5..ba7abf51d0ce 100644 --- a/starmath/source/mathmlexport.hxx +++ b/starmath/source/mathmlexport.hxx @@ -63,13 +63,12 @@ public: }; -class SmXMLExport : public SvXMLExport +class SmXMLExport final : public SvXMLExport { const SmNode * pTree; OUString aText; bool bSuccess; -protected: void ExportNodes(const SmNode *pNode, int nLevel); void ExportTable(const SmNode *pNode, int nLevel); void ExportLine(const SmNode *pNode, int nLevel); |