[Libreoffice-commits] .: sc/inc sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 10 09:15:21 PDT 2012
sc/inc/document.hxx | 5 -----
sc/source/core/data/documen2.cxx | 1 -
2 files changed, 6 deletions(-)
New commits:
commit 4266d4e9489ecf16ed336a1498cc9e81d9b3ab1f
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Wed Oct 10 12:11:53 2012 -0400
Remove a flag that nobody uses.
Change-Id: Ia18640961e43de28ee08b43358483029db966987
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index f02f028..390002e 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -358,9 +358,6 @@ private:
bool bIsEmbedded; // display/adjust Embedded area?
- // no SetDirty for ScFormulaCell::CompileTokenArray but at the end of
- // ScDocument::CompileAll[WithFormats], CopyScenario, CopyBlockFromClip
- bool bNoSetDirty;
// no broadcast, construct no listener during insert from a different
// Doc (per filter or the like ), not until CompileAll / CalcAfterLoad
bool bInsertingFromOtherDoc;
@@ -1550,8 +1547,6 @@ public:
SC_DLLPUBLIC sal_uInt32 GetRangeOverflowType() const { return nRangeOverflowType; }
// for broadcasting/listening
- void SetNoSetDirty( bool bVal ) { bNoSetDirty = bVal; }
- bool GetNoSetDirty() const { return bNoSetDirty; }
void SetInsertingFromOtherDoc( bool bVal ) { bInsertingFromOtherDoc = bVal; }
bool IsInsertingFromOtherDoc() const { return bInsertingFromOtherDoc; }
void SetLoadingMedium( bool bVal );
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 526655b..c0e9466 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -184,7 +184,6 @@ ScDocument::ScDocument( ScDocumentMode eMode,
bIsUndo( eMode == SCDOCMODE_UNDO ),
bIsVisible( false ),
bIsEmbedded( false ),
- bNoSetDirty( false ),
bInsertingFromOtherDoc( false ),
bLoadingMedium( false ),
bImportingXML( false ),
More information about the Libreoffice-commits
mailing list