summaryrefslogtreecommitdiff
path: root/forms/source/xforms
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms')
-rw-r--r--forms/source/xforms/convert.cxx6
-rw-r--r--forms/source/xforms/datatyperepository.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx
index be41419df6ea..7ed865b6b2f6 100644
--- a/forms/source/xforms/convert.cxx
+++ b/forms/source/xforms/convert.cxx
@@ -23,7 +23,6 @@
#include "unohelper.hxx"
#include <algorithm>
#include <functional>
-#include <o3tl/compat_functional.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
@@ -39,7 +38,6 @@ using xforms::Convert;
using com::sun::star::uno::Any;
using com::sun::star::uno::makeAny;
using namespace std;
-using namespace o3tl;
using namespace utl;
typedef com::sun::star::util::Date UNODate;
@@ -307,7 +305,9 @@ Convert::Types_t Convert::getTypes()
{
Types_t aTypes( maMap.size() );
transform( maMap.begin(), maMap.end(), aTypes.getArray(),
- o3tl::select1st<Map_t::value_type>() );
+ [] (::std::pair<const Type_t, Convert_t>& mpair) -> Type_t
+ { return mpair.first; }
+ );
return aTypes;
}
diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx
index 55c45b67686e..ac5081a79378 100644
--- a/forms/source/xforms/datatyperepository.cxx
+++ b/forms/source/xforms/datatyperepository.cxx
@@ -29,7 +29,6 @@
#include <functional>
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
namespace xforms
{
@@ -183,7 +182,8 @@ namespace xforms
m_aRepository.begin(),
m_aRepository.end(),
aNames.getArray(),
- ::o3tl::select1st< Repository::value_type >()
+ [](::std::pair<const OUString, DataType>& rpair) -> OUString
+ { return rpair.first; }
);
return aNames;
}