summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/convert.cxx2
-rw-r--r--forms/source/xforms/datatyperepository.cxx3
2 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx
index 4e7ecbab2561..e3785a39c804 100644
--- a/forms/source/xforms/convert.cxx
+++ b/forms/source/xforms/convert.cxx
@@ -35,6 +35,7 @@
#include <memory>
#include <algorithm>
#include <functional>
+#include <o3tl/compat_functional.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/date.hxx>
@@ -51,6 +52,7 @@ using com::sun::star::uno::Any;
using com::sun::star::uno::makeAny;
using com::sun::star::util::Time;
using namespace std;
+using namespace o3tl;
typedef com::sun::star::util::Date UNODate;
typedef com::sun::star::util::Time UNOTime;
diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx
index a4bce7e66db3..593c486b1795 100644
--- a/forms/source/xforms/datatyperepository.cxx
+++ b/forms/source/xforms/datatyperepository.cxx
@@ -43,6 +43,7 @@
#include <functional>
#include <algorithm>
+#include <o3tl/compat_functional.hxx>
//........................................................................
namespace xforms
@@ -205,7 +206,7 @@ namespace xforms
m_aRepository.begin(),
m_aRepository.end(),
aNames.getArray(),
- ::std::select1st< Repository::value_type >()
+ ::o3tl::select1st< Repository::value_type >()
);
return aNames;
}