diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-06 17:52:52 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-06 20:37:40 +0100 |
commit | 7d68b8e52f0571bccff9c53df2bb65c1c8aee744 (patch) | |
tree | 436b0fe42305b856d42fe8038177d10da76f780c /sc/source/ui | |
parent | 37856f59d2351951b95cf5eb3a5e4f0c011a8762 (diff) |
sc: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: Ia2ac921664fd5b7336125a2f62bca932542b2286
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index eb9ed61085c2..145ed0c048e2 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3341,10 +3341,9 @@ void ScCellRangesBase::ForceChartListener_Impl() return; ScChartListenerCollection::ListenersType& rListeners = pColl->getListeners(); - ScChartListenerCollection::ListenersType::iterator it = rListeners.begin(), itEnd = rListeners.end(); - for (; it != itEnd; ++it) + for (auto const& it : rListeners) { - ScChartListener* p = it->second; + ScChartListener *const p = it.second.get(); OSL_ASSERT(p); if (p->GetUnoSource() == static_cast<chart::XChartData*>(this) && p->IsDirty()) p->Update(); |