diff options
author | Andras Timar <andras.timar@collabora.com> | 2021-02-26 16:05:12 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-02-28 16:48:07 +0100 |
commit | 3f1aabf8d93764b906dc1b0db0e160b9411febff (patch) | |
tree | e21ac96eb4f34cd7f0d77977ebbd2c98cf2f32e6 /sc | |
parent | d58229d61b8bbf9eb0db841826e361940c7b2a4a (diff) |
lok: mark calc document as modified when adjusting split-panes (2)
Change-Id: I91231770ebf02218ae0380ddf76a8664dc6e5e19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111589
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwsh3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx index 06aac0a795db..e8fb0d8a413d 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -1068,6 +1068,8 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) rOtherBind.Invalidate( SID_WINDOW_FIX ); rOtherBind.Invalidate(nSlot); }); + if (!GetViewData().GetDocShell()->IsReadOnly()) + GetViewData().GetDocShell()->SetDocumentModified(); } } else |