[Libreoffice-commits] core.git: sc/source

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 28 15:48:48 UTC 2021


 sc/source/ui/view/tabvwsh3.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3f1aabf8d93764b906dc1b0db0e160b9411febff
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Fri Feb 26 16:05:12 2021 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Sun Feb 28 16:48:07 2021 +0100

    lok: mark calc document as modified when adjusting split-panes (2)
    
    Change-Id: I91231770ebf02218ae0380ddf76a8664dc6e5e19
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111589
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index 06aac0a795db..e8fb0d8a413d 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -1068,6 +1068,8 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
                             rOtherBind.Invalidate( SID_WINDOW_FIX );
                             rOtherBind.Invalidate(nSlot);
                         });
+                        if (!GetViewData().GetDocShell()->IsReadOnly())
+                            GetViewData().GetDocShell()->SetDocumentModified();
                     }
                 }
                 else


More information about the Libreoffice-commits mailing list