summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2021-02-26 16:05:12 +0100
committerAndras Timar <andras.timar@collabora.com>2021-02-27 21:33:31 +0100
commit15876dc301deedd1a61760cee68d6c4828a1785f (patch)
tree0d8a0a21262878c29a8d743c74e3654ea48aeafc
parent8ab93854d66b16c8cfb31a95137ad6f010be86aa (diff)
lok: mark calc document as modified when adjusting split-panes (2)
Change-Id: I91231770ebf02218ae0380ddf76a8664dc6e5e19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111651 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--sc/source/ui/view/tabvwsh3.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index 44bb6adcfb9e..6f89065dd1ca 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -1012,6 +1012,8 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
rOtherBind.Invalidate( SID_WINDOW_FIX );
rOtherBind.Invalidate(nSlot);
});
+ if (!GetViewData().GetDocShell()->IsReadOnly())
+ GetViewData().GetDocShell()->SetDocumentModified();
}
}
else