diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-03-23 20:14:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-27 09:43:58 +0000 |
commit | d615af618cc6a7152c76a49b3cd09db38eaa9e07 (patch) | |
tree | bc0d69070444dc687708de9a4a146c5c2d3b6852 /sfx2/source/appl | |
parent | 6f968f00b1534406a2943be374fab924c3396482 (diff) |
create SfxInterfaceId o3tl::strong_int
Change-Id: Ie52f63382a9fb36f9a472801be012b140bfb51f6
Reviewed-on: https://gerrit.libreoffice.org/35722
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/appdata.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/appinit.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/appl/appquit.cxx | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx index b4a5ff441f4c..44f8843930fa 100644 --- a/sfx2/source/appl/appdata.cxx +++ b/sfx2/source/appl/appdata.cxx @@ -117,8 +117,6 @@ SfxAppData_Impl::SfxAppData_Impl( SfxApplication* ) , pViewFrame( nullptr ) , pSlotPool( nullptr ) , pAppDispat( nullptr ) - , pInterfaces( nullptr ) - , nInterfaces( 0 ) , bDowning( true ) , bInQuit( false ) diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index 3be03707ff3b..971b0a6d79fc 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -241,9 +241,6 @@ void SfxApplication::Initialize_Impl() pImpl->pViewFrames = new SfxViewFrameArr_Impl; pImpl->pViewShells = new SfxViewShellArr_Impl; pImpl->pObjShells = new SfxObjectShellArr_Impl; - pImpl->nInterfaces = SFX_INTERFACE_APP+8; - pImpl->pInterfaces = new SfxInterface*[pImpl->nInterfaces]; - memset( pImpl->pInterfaces, 0, sizeof(SfxInterface*) * pImpl->nInterfaces ); Registrations_Impl(); diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx index 67264060a298..b33eb7819964 100644 --- a/sfx2/source/appl/appquit.cxx +++ b/sfx2/source/appl/appquit.cxx @@ -100,9 +100,6 @@ void SfxApplication::Deinitialize() DBG_ASSERT( pImpl->pViewFrame == nullptr, "active foreign ViewFrame" ); - delete[] pImpl->pInterfaces; - pImpl->pInterfaces = nullptr; - // free administration managers DELETEZ(pImpl->pAppDispat); SfxResId::DeleteResMgr(); |