sc/source/ui/view/tabvwsh3.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit edf8d6ff1049127514e1214e495ec56235924a36
Author: Michael Meeks <[email protected]>
AuthorDate: Thu Feb 25 21:44:40 2021 +0000
Commit: Michael Meeks <[email protected]>
CommitDate: Fri Feb 26 14:50:51 2021 +0100
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 <[email protected]>
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();
}
}
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits