summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2022-10-03 18:59:19 -0400
committerJustin Luth <jluth@mail.com>2022-10-04 02:19:33 +0200
commit545523f5624c959b2208001cd9d191a8464d2a32 (patch)
tree8c4277a71d496860739599a24e315af1459ed2de /sc
parent85353c42de80e7492f5c80499e18375f942c75c9 (diff)
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 <jluth@mail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabview.cxx2
1 files changed, 2 insertions, 0 deletions
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();