diff options
Diffstat (limited to 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 046cf75ea3a3..6c909028205c 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -40,7 +40,6 @@ class ScRefreshTimerProtector; class ScEditEngineDefaulter; -class SfxStyleSheetBasePool; class SfxStyleSheetHint; class INetURLObject; @@ -425,9 +424,9 @@ public: // password protection for Calc (derived from SfxObjectShell) // see also: FID_CHG_RECORD, SID_CHG_PROTECT - virtual bool IsChangeRecording() const override; + virtual bool IsChangeRecording(SfxViewShell* pViewShell = nullptr, bool bRecordAllViews = true) const override; virtual bool HasChangeRecordProtection() const override; - virtual void SetChangeRecording( bool bActivate, bool bLockAllViews = false ) override; + virtual void SetChangeRecording( bool bActivate, bool bLockAllViews = false, SfxRedlineRecordingMode eRedlineRecordingMode = SfxRedlineRecordingMode::ViewAgnostic) override; virtual void SetProtectionPassword( const OUString &rPassword ) override; virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) override; @@ -505,7 +504,7 @@ namespace HelperNotifyChanges return false; } - inline bool getMustPropagateChangesModel(ScModelObj* pModelObj) + inline bool getMustPropagateChangesModel(const ScModelObj* pModelObj) { return pModelObj && pModelObj->HasChangesListeners(); } |