[Libreoffice-commits] .: sfx2/inc sfx2/source
Takeshi Abe
tabe at kemper.freedesktop.org
Thu Jun 14 10:01:11 PDT 2012
sfx2/inc/sfx2/app.hxx | 1 -
sfx2/source/appl/appbas.cxx | 6 ------
sfx2/source/appl/appquit.cxx | 5 -----
3 files changed, 12 deletions(-)
New commits:
commit e9022aaa9053aff22cea804794a9eac082485626
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Fri Jun 15 01:54:40 2012 +0900
removed empty SfxApplication::SaveBasicManager() and its usage
See 6801a61711ebaa71781ec733da25bfbb364cb4ad
and b57bf0f202884261352cae750e09b97f570d3204
Change-Id: Ia63a5426a6445bffd4579d4535382bf93a97a589
diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx
index ea9dbc2..8cef648 100644
--- a/sfx2/inc/sfx2/app.hxx
+++ b/sfx2/inc/sfx2/app.hxx
@@ -203,7 +203,6 @@ public:
com::sun::star::uno::Reference< com::sun::star::script::XLibraryContainer >
GetBasicContainer();
StarBASIC* GetBasic();
- sal_uInt16 SaveBasicManager() const;
sal_uInt16 SaveBasicAndDialogContainer() const;
// misc.
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index cc34ae2..87b54da 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -120,12 +120,6 @@ using namespace ::com::sun::star::script;
using ::basic::BasicManagerRepository;
//=========================================================================
-sal_uInt16 SfxApplication::SaveBasicManager() const
-{
- return 0;
-}
-
-//--------------------------------------------------------------------
sal_uInt16 SfxApplication::SaveBasicAndDialogContainer() const
{
if ( pAppData_Impl->pBasicManager->isValid() )
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index a4edf3a..e1dfc22 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -94,11 +94,6 @@ void SfxApplication::Deinitialize()
#ifndef DISABLE_SCRIPTING
StarBASIC::Stop();
- // Save BASIC if possible
- BasicManager* pBasMgr = BasicManagerRepository::getApplicationBasicManager( false );
- if ( pBasMgr && pBasMgr->IsModified() )
- SaveBasicManager();
-
SaveBasicAndDialogContainer();
#endif
More information about the Libreoffice-commits
mailing list