summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2020-12-01 19:45:22 +0100
committerLászló Németh <nemeth@numbertext.org>2020-12-03 19:05:46 +0100
commit2832a5447ceb0c0e40d1e1772e41bfd90e37913c (patch)
treee45d66834a5cfcb2b424634c1de083427805b1cf /include
parent6b5ca41c5d78e6a45f7a39d99c5a7ae283d243de (diff)
tdf#107870 sw: don't jump to cursor setting Record Changes
Using Edit->Track Changes->Record or Record Tracked Changes on Track Changes toolbar scrolled the pages back to the text cursor, breaking the review process of the document. Change-Id: I890e845ff94b636dd6edae19969d913e8d7a7b65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107005 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> (cherry picked from commit 1fd0919d92e792fa4af209a0fc7fde55c9958d1a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107103 Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/objsh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 40ab5b46639a..ee3d3d6eefb7 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -671,7 +671,7 @@ public:
// slots used for Calc: FID_CHG_RECORD, SID_CHG_PROTECT
virtual bool IsChangeRecording() const;
virtual bool HasChangeRecordProtection() const;
- virtual void SetChangeRecording( bool bActivate );
+ virtual void SetChangeRecording( bool bActivate, bool bLockAllViews = false );
virtual void SetProtectionPassword( const OUString &rPassword );
virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash );