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

New commits:
commit 545523f5624c959b2208001cd9d191a8464d2a32
Author:     Justin Luth <jl...@mail.com>
AuthorDate: Mon Oct 3 18:59:19 2022 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Tue Oct 4 02:19:33 2022 +0200

    tdf$131937 tdf#61060 sc: UnFreezing now marks spreadsheet as unsaved
    
    Freezing was done in LO 4.0.4 with 2013-05-09 10:55:44 UTC
    Sameer Deshmukh commit 07a14c901025722bcc0a06c76e83c40985ca01a6
        fdo#61060 - Freezing now marks spreadsheet as unsaved.
    
    Now Unfreezing does the same thing.
    
    TODO: should the same thing be done for splitting?
    
    It will be available in LibreOffice 4.0.4.
    
    Change-Id: I3d1d3563c5c62ccfe2dece64a26862db0380ec34
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140932
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 2aeb3d5fff69..53e312b508d1 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2075,6 +2075,8 @@ void ScTabView::FreezeSplitters( bool bFreeze, 
SplitMethod eSplitMethod, SCCOLRO
 
 void ScTabView::RemoveSplit()
 {
+    if (aViewData.GetHSplitMode() == SC_SPLIT_FIX || aViewData.GetVSplitMode() 
== SC_SPLIT_FIX)
+        aViewData.GetDocShell()->SetDocumentModified();
     DoHSplit( 0 );
     DoVSplit( 0 );
     RepeatResize();

Reply via email to