summaryrefslogtreecommitdiff
path: root/include/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 12:11:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-12 13:11:16 +0100
commit36b90e6c23fc846c9a8b4ddbd74688b2b5cc4705 (patch)
tree0cece42f160c3f695149aeaf8d3d2e1d203fedc9 /include/linguistic
parent5194b93c8dffe4a2194c35e91949ed5b88b567e2 (diff)
loplugin:finalclasses
Change-Id: Ia9865271cf0a75ebf4b885ff376f7d0a152b2555 Reviewed-on: https://gerrit.libreoffice.org/84925 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/linguistic')
-rw-r--r--include/linguistic/lngprophelp.hxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx
index f05481019704..19cbe1f969ac 100644
--- a/include/linguistic/lngprophelp.hxx
+++ b/include/linguistic/lngprophelp.hxx
@@ -57,7 +57,7 @@ typedef cppu::WeakImplHelper
css::linguistic2::XLinguServiceEventBroadcaster
> PropertyChgHelperBase;
-class PropertyChgHelper :
+class LNG_DLLPUBLIC PropertyChgHelper :
public PropertyChgHelperBase
{
css::uno::Sequence< OUString > aPropNames;
@@ -118,8 +118,8 @@ public:
const css::uno::Reference< css::linguistic2::XLinguServiceEventListener >& rxListener ) override;
// non-UNO functions
- void LNG_DLLPUBLIC AddAsPropListener();
- void LNG_DLLPUBLIC RemoveAsPropListener();
+ void AddAsPropListener();
+ void RemoveAsPropListener();
void LaunchEvent( const css::linguistic2::LinguServiceEvent& rEvt );
const css::uno::Sequence< OUString > &
@@ -131,7 +131,7 @@ public:
};
-class PropertyHelper_Thes :
+class PropertyHelper_Thes final :
public PropertyChgHelper
{
PropertyHelper_Thes( const PropertyHelper_Thes & ) = delete;
@@ -167,7 +167,7 @@ public:
};
-class LNG_DLLPUBLIC PropertyHelper_Spell :
+class LNG_DLLPUBLIC PropertyHelper_Spell final :
public PropertyChgHelper
{
// default values
@@ -183,7 +183,6 @@ class LNG_DLLPUBLIC PropertyHelper_Spell :
PropertyHelper_Spell( const PropertyHelper_Spell & ) = delete;
PropertyHelper_Spell & operator = ( const PropertyHelper_Spell & ) = delete;
-protected:
// PropertyChgHelper
virtual void SetDefaultValues() override;
virtual void GetCurrentValues() override;
@@ -237,7 +236,7 @@ public:
};
-class PropertyHelper_Hyphen :
+class PropertyHelper_Hyphen final :
public PropertyChgHelper
{
// default values
@@ -255,7 +254,6 @@ class PropertyHelper_Hyphen :
PropertyHelper_Hyphen( const PropertyHelper_Hyphen & ) = delete;
PropertyHelper_Hyphen & operator = ( const PropertyHelper_Hyphen & ) = delete;
-protected:
// PropertyChgHelper
virtual void SetDefaultValues() override;
virtual void GetCurrentValues() override;