summaryrefslogtreecommitdiff
path: root/sc
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-26 23:23:14 +0100
commit6384f018ce06776b2ec5a084626f65b466100e76 (patch)
tree22e7acc1e722086b52f143d425e5b1a745e9e466 /sc
parent6438cf7d2f48d400d0bb95e6e803e3385f763327 (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>
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 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