summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/docshell/docsh.cxx12
-rw-r--r--sc/source/ui/inc/docsh.hxx1
2 files changed, 0 insertions, 13 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index c5e6002b891e..d6c8f6f3c1ad 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2971,18 +2971,6 @@ void ScDocShellModificator::SetDocumentModified()
}
}
-sal_Bool ScDocShell::AcceptStateUpdate() const
-{
- if( SfxObjectShell::AcceptStateUpdate() )
- return sal_True;
-
- if( SC_MOD()->Find1RefWindow( SFX_APP()->GetTopWindow() ) )
- return sal_True;
-
- return false;
-}
-
-
bool ScDocShell::IsChangeRecording() const
{
ScChangeTrack* pChangeTrack = aDocument.GetChangeTrack();
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index f10622983e85..fb23c04ba8a2 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -420,7 +420,6 @@ public:
const ScOptSolverSave* GetSolverSaveData() const { return pSolverSaveData; } // may be null
void SetSolverSaveData( const ScOptSolverSave& rData );
- sal_Bool AcceptStateUpdate() const;
ScSheetSaveData* GetSheetSaveData();
void ResetKeyBindings( ScOptionsUtil::KeyBindingType eType );