diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2021-02-25 21:44:40 +0000 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2021-02-26 12:12:44 +0100 |
commit | 6438cf7d2f48d400d0bb95e6e803e3385f763327 (patch) | |
tree | 9e3e2e30725468e4c5acca7c2606565907260e96 | |
parent | e18392a8b48c696e9dc40383fd98f5b325763856 (diff) |
lok: mark calc document as modified when adjusting split-panes.
Change-Id: I592ee4dc4317f27fae24141b2052475ef26e9fc4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111599
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
-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 0570e0b76385..44bb6adcfb9e 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -973,6 +973,8 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) rOtherBind.Invalidate( SID_WINDOW_FIX_COL ); rOtherBind.Invalidate( SID_WINDOW_FIX_ROW ); }); + if (!GetViewData().GetDocShell()->IsReadOnly()) + GetViewData().GetDocShell()->SetDocumentModified(); } } } |