diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-15 01:54:40 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-06-15 01:55:53 +0900 |
commit | e9022aaa9053aff22cea804794a9eac082485626 (patch) | |
tree | e39b7088f08fcbdc7ab3777dd909b0da898dd24c /sfx2 | |
parent | c2b867c6c0d861677f2b884097dfa4c80235023c (diff) |
removed empty SfxApplication::SaveBasicManager() and its usage
See 6801a61711ebaa71781ec733da25bfbb364cb4ad
and b57bf0f202884261352cae750e09b97f570d3204
Change-Id: Ia63a5426a6445bffd4579d4535382bf93a97a589
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/app.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/appl/appbas.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/appl/appquit.cxx | 5 |
3 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx index ea9dbc2a4f37..8cef64876815 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 cc34ae205cfa..87b54da6bd71 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 a4edf3af18b3..e1dfc2270d32 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 |