summaryrefslogtreecommitdiff
path: root/sd/inc/stlpool.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 15:53:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-26 08:47:11 +0200
commitb4e235a925b5c73a2220f57cdb8b85379fb3bac1 (patch)
tree224ab0d69c63b1843808f6eb44a6326bcad8db4c /sd/inc/stlpool.hxx
parentcb151051d79a7ec176e769a33a56e7d906fc1425 (diff)
loplugin:finalclasses in sd
Change-Id: I0947aa295ba1859ebc1e7ce9ce2e621f02d399ce Reviewed-on: https://gerrit.libreoffice.org/43846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc/stlpool.hxx')
-rw-r--r--sd/inc/stlpool.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index 6f57b4a595dc..b46748615b90 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -51,7 +51,7 @@ typedef ::cppu::ImplInheritanceHelper< SfxStyleSheetPool,
css::container::XNameAccess,
css::lang::XComponent > SdStyleSheetPoolBase;
-class SdStyleSheetPool : public SdStyleSheetPoolBase, public SfxListener
+class SdStyleSheetPool final : public SdStyleSheetPoolBase, public SfxListener
{
friend class SdDrawDocument;
public:
@@ -121,7 +121,7 @@ public:
virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override;
virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
-protected:
+private:
void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily );
void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, SdStyleSheetVector& rCreatedSheets );
void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, SdStyleSheetVector& rCreatedSheets, const OUString &rRenameSuffix );
@@ -134,7 +134,6 @@ protected:
void AddStyleFamily( const SdPage* pPage );
void RemoveStyleFamily( const SdPage* pPage );
-private:
SfxStyleSheetBase* mpActualStyleSheet;
SdDrawDocument* mpDoc;
SdStyleFamilyRef mxGraphicFamily;