summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSameer Deshmukh <sameer.deshmukh93@gmail.com>2013-04-28 02:15:50 +0530
committerMichael Meeks <michael.meeks@suse.com>2013-05-09 11:42:43 +0100
commit07a14c901025722bcc0a06c76e83c40985ca01a6 (patch)
tree3489b024dc90dda64d2a2aafb36298653a222516
parent4a36c4544346cdf4d4133bdfc4b9b28e6a7d9743 (diff)
fdo#61060 - Freezing now marks spreadsheet as unsaved.
Change-Id: I0b479500938e185fb6d163837b29e6e36e823260 Reviewed-on: https://gerrit.libreoffice.org/3641 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r--sc/source/ui/view/tabview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 0deadab02af6..9bd21051da44 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2032,6 +2032,7 @@ void ScTabView::FreezeSplitters( bool bFreeze )
if ( bFreeze )
{
Point aWinStart = pWin->GetPosPixel();
+ aViewData.GetDocShell()->SetDocumentModified();
Point aSplit;
SCsCOL nPosX;