From 5916d5866c109b17471a9c8604635612a0aa69ae Mon Sep 17 00:00:00 2001 From: Daniel Robertson Date: Fri, 31 Jul 2015 10:24:01 -0400 Subject: tdf#92459 replace deprecated o3tl features Replace all uses of deprecated features from o3tl/compat_functional.hxx with lambda expressions. Change-Id: I6370c80dbe675da517904e535e19bf63830c3e2c Reviewed-on: https://gerrit.libreoffice.org/17450 Reviewed-by: David Ostrovsky Tested-by: David Ostrovsky --- chart2/source/controller/accessibility/AccessibleBase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2/source/controller/accessibility/AccessibleBase.cxx') diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index c2726669d643..dc3832dd5a29 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -50,7 +50,6 @@ #include #include -#include #include "ChartElementFactory.hxx" @@ -252,7 +251,8 @@ bool AccessibleBase::ImplUpdateChildren() aAccChildren.reserve( aModelChildren.size()); ::std::transform( m_aChildOIDMap.begin(), m_aChildOIDMap.end(), ::std::back_inserter( aAccChildren ), - ::o3tl::select1st< ChildOIDMap::value_type >()); + []( const ::std::pair& cp ) + { return cp.first; } ); ::std::sort( aModelChildren.begin(), aModelChildren.end()); -- cgit