summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2021-02-25 21:44:40 +0000
committerMichael Meeks <michael.meeks@collabora.com>2021-02-26 14:50:51 +0100
commitedf8d6ff1049127514e1214e495ec56235924a36 (patch)
tree17abf757f546db44af800b562b83453b790eaffe /sc
parent7d646e078371220e25749916de3fc83166b12745 (diff)
lok: mark calc document as modified when adjusting split-panes.
Change-Id: I592ee4dc4317f27fae24141b2052475ef26e9fc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111582 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc')
-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 ba53e099f539..06aac0a795db 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -1029,6 +1029,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();
}
}
}