summaryrefslogtreecommitdiffstats
path: root/sc/inc/stlsheet.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/stlsheet.hxx')
-rw-r--r--sc/inc/stlsheet.hxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/sc/inc/stlsheet.hxx b/sc/inc/stlsheet.hxx
index e47b4cf96924..cab2e9759702 100644
--- a/sc/inc/stlsheet.hxx
+++ b/sc/inc/stlsheet.hxx
@@ -28,7 +28,7 @@
class ScStyleSheetPool;
-class ScStyleSheet : public SfxStyleSheet
+class ScStyleSheet final : public SfxStyleSheet
{
friend class ScStyleSheetPool;
@@ -41,16 +41,11 @@ public:
NOTUSED
};
-private:
- mutable ScStyleSheet::Usage eUsage;
-
-public:
-
ScStyleSheet( const ScStyleSheet& rStyle );
virtual bool SetParent ( const OUString& rParentName ) override;
SC_DLLPUBLIC void ResetParent();
- virtual SfxItemSet& GetItemSet () override;
+ SC_DLLPUBLIC virtual SfxItemSet& GetItemSet() override;
virtual bool IsUsed () const override;
virtual bool HasFollowSupport () const override;
virtual bool HasParentSupport () const override;
@@ -60,7 +55,7 @@ public:
void SetUsage( ScStyleSheet::Usage eUse ) const { eUsage = eUse; }
ScStyleSheet::Usage GetUsage() const { return eUsage; }
-protected:
+private:
virtual ~ScStyleSheet() override;
ScStyleSheet( const OUString& rName,
@@ -69,6 +64,8 @@ protected:
sal_uInt16 nMask );
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
+
+ mutable ScStyleSheet::Usage eUsage;
};
#endif // INCLUDED_SC_INC_STLSHEET_HXX