Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3628
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/28/3628/1
fdo#61060 - Freezing now marks spreadsheet as unsaved.
Change-Id: I27d9c158844124f18c2e4e12c26b9a17d52d4f4c
---
M sc/source/ui/inc/tabview.hxx
M sc/source/ui/view/tabview.cxx
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index 9b971da..fbe8b29 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -91,6 +91,7 @@
ScViewSelectionEngine* pSelEngine;
ScViewFunctionSet aFunctionSet;
+ ScDocShell* pCurDocument;
ScHeaderSelectionEngine* pHdrSelEng;
ScHeaderFunctionSet aHdrFunc;
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index d96a06e..b10b7b4 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -226,6 +226,7 @@
aViewData( &rDocSh, pViewShell ),
pSelEngine( NULL ),
aFunctionSet( &aViewData ),
+ pCurDocument ( &rDocSh ),
pHdrSelEng( NULL ),
aHdrFunc( &aViewData ),
pDrawView( NULL ),
@@ -2034,6 +2035,7 @@
if ( bFreeze )
{
Point aWinStart = pWin->GetPosPixel();
+ pCurDocument->SetDocumentModified();
Point aSplit;
SCsCOL nPosX;
--
To view, visit https://gerrit.libreoffice.org/3628
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I27d9c158844124f18c2e4e12c26b9a17d52d4f4c
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Context
- [PATCH] fdo#61060 - Freezing now marks spreadsheet as unsaved. · Sameer Deshmukh (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.