[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Nov 15 18:44:07 PST 2011


 sc/source/ui/docshell/docsh.cxx |   12 ------------
 sc/source/ui/inc/docsh.hxx      |    1 -
 2 files changed, 13 deletions(-)

New commits:
commit 7d1cfb451bca265ff7ea5e08a9b23b7fdd25e9e2
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Tue Nov 15 21:43:57 2011 -0500

    Unused method.

diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index c5e6002..d6c8f6f 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 f106229..fb23c04 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 );


More information about the Libreoffice-commits mailing list