From cd74d49de55e87a4e801e8a245d198ea51d0ec34 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 20 Jul 2015 21:27:01 +0200 Subject: svtools: replace boost::ptr_vector with std::vector Change-Id: I895c950c11499afb278b989565f3eae33aaf4a76 --- dbaccess/source/ui/browser/unodatbr.cxx | 2 +- dbaccess/source/ui/control/dbtreelistbox.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index 7481d2bce017..1c5e945e632e 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -3773,7 +3773,7 @@ void SbaTableQueryBrowser::impl_cleanupDataSourceEntry( const OUString& _rDataSo for (; it != itEnd; ++it) { - SvTreeListEntry* pEntry = &(*it); + SvTreeListEntry* pEntry = (*it).get(); const DBTreeListUserData* pData = static_cast(pEntry->GetUserData()); pEntry->SetUserData(NULL); delete pData; diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 1944410d72f6..77edc1fbd907 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -103,7 +103,7 @@ SvTreeListEntry* DBTreeListBox::GetEntryPosByName( const OUString& aName, SvTree SvTreeListEntries::iterator it = aIters.first, itEnd = aIters.second; for (; it != itEnd; ++it) { - pEntry = &(*it); + pEntry = (*it).get(); const SvLBoxString* pItem = static_cast( pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); -- cgit