diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 10:18:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-20 07:09:32 +0100 |
commit | 4b3092b6020c7bf7d28e467ea876b627074580b5 (patch) | |
tree | 09edae2d13aa23eb2b43397118fea32d4134f614 /svx/source/form/datanavi.cxx | |
parent | e6ea3bbef30a0b6e04236ecb52cba4ac39f6332f (diff) |
inline typedefs in svx/datanivi
and fix a very dubious field declared as
css::uno::Reference< css::container::XNameContainer >&
in NamespaceItemDialog
Change-Id: Icae09704ceb94cc24b4333d76b3fe67fc61f568b
Reviewed-on: https://gerrit.libreoffice.org/46808
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/form/datanavi.cxx')
-rw-r--r-- | svx/source/form/datanavi.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 076a4c35c291..dda78e53f767 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -1697,9 +1697,8 @@ namespace svxform bool bDoRemove = false; if (IsAdditionalPage(nId)) { - PageList::iterator aPageListEnd = m_aPageList.end(); - PageList::iterator aFoundPage = - std::find( m_aPageList.begin(), aPageListEnd, pPage ); + auto aPageListEnd = m_aPageList.end(); + auto aFoundPage = std::find( m_aPageList.begin(), aPageListEnd, pPage ); if ( aFoundPage != aPageListEnd ) { m_aPageList.erase( aFoundPage ); @@ -2090,7 +2089,7 @@ namespace svxform } - void DataNavigatorWindow::AddContainerBroadcaster( const XContainer_ref& xContainer ) + void DataNavigatorWindow::AddContainerBroadcaster( const css::uno::Reference< css::container::XContainer >& xContainer ) { Reference< XContainerListener > xListener( static_cast< XContainerListener* >( m_xDataListener.get() ), UNO_QUERY ); @@ -2099,7 +2098,7 @@ namespace svxform } - void DataNavigatorWindow::AddEventBroadcaster( const XEventTarget_ref& xTarget ) + void DataNavigatorWindow::AddEventBroadcaster( const css::uno::Reference< css::xml::dom::events::XEventTarget >& xTarget ) { Reference< XEventListener > xListener( static_cast< XEventListener* >( m_xDataListener.get() ), UNO_QUERY ); |