From 4266d4e9489ecf16ed336a1498cc9e81d9b3ab1f Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 10 Oct 2012 12:11:53 -0400 Subject: Remove a flag that nobody uses. Change-Id: Ia18640961e43de28ee08b43358483029db966987 --- sc/inc/document.hxx | 5 ----- sc/source/core/data/documen2.cxx | 1 - 2 files changed, 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 ), -- cgit