summaryrefslogtreecommitdiff
path: root/sw/inc/unostyle.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-04 10:23:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-04 10:29:24 +0100
commitdaa344f3e9683c16479ef5081fb03325af103c07 (patch)
tree9eaad4d46de6e6cbbbee9f2e0d911563cf5cd12d /sw/inc/unostyle.hxx
parentfa7f07d23de31e5f1660a643d83ca8a2e565f69c (diff)
loplugin:finalclasses in sw/inc
Change-Id: I084502d8c5607f103ef987b54252ef95341f0bef Reviewed-on: https://gerrit.libreoffice.org/81981 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unostyle.hxx')
-rw-r--r--sw/inc/unostyle.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 67c7dd996424..058812c17923 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -44,7 +44,7 @@ class SwDocShell;
class SwAutoStylesEnumImpl;
class SfxItemSet;
-class SwXStyleFamilies : public cppu::WeakImplHelper
+class SwXStyleFamilies final : public cppu::WeakImplHelper
<
css::container::XIndexAccess,
css::container::XNameAccess,
@@ -56,7 +56,7 @@ class SwXStyleFamilies : public cppu::WeakImplHelper
SwDocShell* m_pDocShell;
std::map<SfxStyleFamily, css::uno::Reference<css::container::XNameContainer>> m_vFamilies;
-protected:
+
virtual ~SwXStyleFamilies() override;
public:
SwXStyleFamilies(SwDocShell& rDocShell);
@@ -102,7 +102,7 @@ namespace sw
}
// access to all automatic style families
-class SwXAutoStyles :
+class SwXAutoStyles final :
public cppu::WeakImplHelper< css::style::XAutoStyles >,
public SwUnoCollection
{
@@ -131,7 +131,7 @@ public:
};
// access to a family of automatic styles (character or paragraph or ...)
-class SwXAutoStyleFamily : public cppu::WeakImplHelper< css::style::XAutoStyleFamily >, public SvtListener
+class SwXAutoStyleFamily final : public cppu::WeakImplHelper< css::style::XAutoStyleFamily >, public SvtListener
{
SwDocShell *m_pDocShell;
IStyleAccess::SwAutoStyleFamily const m_eFamily;
@@ -154,7 +154,7 @@ public:
virtual void Notify( const SfxHint&) override;
};
-class SwXAutoStylesEnumerator : public cppu::WeakImplHelper< css::container::XEnumeration >, public SvtListener
+class SwXAutoStylesEnumerator final : public cppu::WeakImplHelper< css::container::XEnumeration >, public SvtListener
{
std::unique_ptr<SwAutoStylesEnumImpl> m_pImpl;
public:
@@ -169,7 +169,7 @@ public:
};
// an automatic style
-class SwXAutoStyle : public cppu::WeakImplHelper
+class SwXAutoStyle final : public cppu::WeakImplHelper
<
css::beans::XPropertySet,
css::beans::XPropertyState,
@@ -229,7 +229,7 @@ public:
typedef std::map<OUString, sal_Int32> CellStyleNameMap;
/// A text table style is a UNO API wrapper for a SwTableAutoFormat
-class SwXTextTableStyle : public cppu::WeakImplHelper
+class SwXTextTableStyle final : public cppu::WeakImplHelper
<
css::style::XStyle,
css::beans::XPropertySet,
@@ -322,7 +322,7 @@ public:
};
/// A text cell style is a UNO API wrapper for a SwBoxAutoFormat core class
-class SwXTextCellStyle : public cppu::WeakImplHelper
+class SwXTextCellStyle final : public cppu::WeakImplHelper
<
css::style::XStyle,
css::beans::XPropertySet,