[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sc/source

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 26 22:23:50 UTC 2021


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

New commits:
commit 6384f018ce06776b2ec5a084626f65b466100e76
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: Fri Feb 26 23:23:14 2021 +0100

    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 at gmail.com>
    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 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


More information about the Libreoffice-commits mailing list