summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-15 21:43:57 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-15 21:43:57 -0500
commit7d1cfb451bca265ff7ea5e08a9b23b7fdd25e9e2 (patch)
tree15d778e1685b018543819d8c434f2da65bd707c2 /sc/source/ui/docshell
parentd8bb96e54339133a708eaa82b37730f793680497 (diff)
Unused method.
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docsh.cxx12
1 files changed, 0 insertions, 12 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();