diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 15:11:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 16:36:02 +0000 |
commit | 6c6a68cd566908eb6b22fe9e9b2c2426c853b6f9 (patch) | |
tree | a80afc967b2a95facc560acdf19d1e7d37e6c970 /sfx2 | |
parent | 577dd616bc438bfddf5f65246b1564737bba6a6f (diff) |
so GetOffResManager_Impl is unused
which makes sense, because all that's left in ofa.res is
error strings
Change-Id: Ieedcbd5c9c723ac1a89035add11a61d41b2381a9
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appdata.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/appl/appquit.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 7 | ||||
-rw-r--r-- | sfx2/source/inc/appdata.hxx | 1 |
4 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx index 88bfb1ce4158..0d9e820b16ac 100644 --- a/sfx2/source/appl/appdata.cxx +++ b/sfx2/source/appl/appdata.cxx @@ -112,7 +112,6 @@ SfxAppData_Impl::SfxAppData_Impl( SfxApplication* ) , pViewShells(0) , pObjShells(0) , pSfxResManager(0) - , pOfaResMgr(0) , pBasicManager( new SfxBasicManagerHolder ) , pBasMgrListener( new SfxBasicManagerCreationListener( *this ) ) , pViewFrame( 0 ) diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx index 2367e51ac17a..e7efa6efcdbf 100644 --- a/sfx2/source/appl/appquit.cxx +++ b/sfx2/source/appl/appquit.cxx @@ -110,7 +110,6 @@ void SfxApplication::Deinitialize() DELETEZ(pAppData_Impl->pAppDispat); SfxResId::DeleteResMgr(); SvtResId::DeleteResMgr(); - DELETEZ(pAppData_Impl->pOfaResMgr); // from here no SvObjects have to exists DELETEZ(pAppData_Impl->pMatcher); diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 29a47a0609d0..84de443c619e 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -875,13 +875,6 @@ OUString ChooseMacro( const Reference< XModel >& rxLimitToDocument, bool bChoose #endif -ResMgr* SfxApplication::GetOffResManager_Impl() -{ - if ( !pAppData_Impl->pOfaResMgr ) - pAppData_Impl->pOfaResMgr = ResMgr::CreateResMgr( "ofa"); - return pAppData_Impl->pOfaResMgr; -} - namespace { #if HAVE_FEATURE_SCRIPTING diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx index 65e0402cf91a..ab3745010900 100644 --- a/sfx2/source/inc/appdata.hxx +++ b/sfx2/source/inc/appdata.hxx @@ -119,7 +119,6 @@ public: SfxViewShellArr_Impl* pViewShells; SfxObjectShellArr_Impl* pObjShells; ResMgr* pSfxResManager; - ResMgr* pOfaResMgr; SfxBasicManagerHolder* pBasicManager; SfxBasicManagerCreationListener* pBasMgrListener; |