summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-10 12:11:53 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-10-10 12:12:30 -0400
commit4266d4e9489ecf16ed336a1498cc9e81d9b3ab1f (patch)
tree207077225d5bcefc61645246511f3a9252ba49e1 /sc
parent44e8a8240a3a1cce747f1998e617f8dd4621a992 (diff)
Remove a flag that nobody uses.
Change-Id: Ia18640961e43de28ee08b43358483029db966987
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx5
-rw-r--r--sc/source/core/data/documen2.cxx1
2 files changed, 0 insertions, 6 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index f02f02821580..390002e98664 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 526655b52a79..c0e94665a3fa 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 ),