Kaydet (Commit) da0a588b authored tarafından Noel Grandin's avatar Noel Grandin

m_xTabControllerList is dead

ever since
    commit af4b38d6
    Date:   Mon Mar 24 15:59:06 2014 +0100
    Remove dead code

Change-Id: Ia7848f469d91666f13130132ebe5766c4fedcebb
Reviewed-on: https://gerrit.libreoffice.org/60621
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 6d184e2e
......@@ -151,14 +151,9 @@ protected:
) override;
private:
void impl_activateTabControllers();
// list of pointer of "struct IMPL_ControlInfo" to hold child-controls
::std::vector< std::unique_ptr<IMPL_ControlInfo> > maControlInfoList;
// list of references of XTabController to hold tab-order in this container
css::uno::Sequence< css::uno::Reference< css::awt::XTabController > > m_xTabControllerList;
::cppu::OMultiTypeInterfaceContainerHelper m_aListeners;
};
......
......@@ -123,10 +123,6 @@ void SAL_CALL BaseContainerControl::createPeer( const Reference< XToolkit >&
{
seqControlList.getArray()[n]->createPeer( xToolkit, getPeer() );
}
// activate new tab order
impl_activateTabControllers();
}
}
......@@ -217,7 +213,6 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re
{
// .. then create a peer on child
pNewControl->xControl->createPeer ( getPeer()->getToolkit(), getPeer() );
impl_activateTabControllers ();
}
// Send message to all listener
......@@ -393,23 +388,6 @@ void BaseContainerControl::impl_paint ( sal_Int32 /*nX*/, sal_Int32 /*nY*/, cons
{
}
// private method
void BaseContainerControl::impl_activateTabControllers ()
{
// Ready for multithreading
MutexGuard aGuard (m_aMutex);
sal_uInt32 nMaxCount = m_xTabControllerList.getLength ();
sal_uInt32 nCount = 0;
for ( nCount = 0; nCount < nMaxCount; ++nCount )
{
m_xTabControllerList.getArray () [nCount]->setContainer ( this );
m_xTabControllerList.getArray () [nCount]->activateTabOrder ( );
}
}
} // namespace unocontrols
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment