summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-02-08 19:33:25 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-02-08 19:33:25 +0100
commit9457a3ce40c0759d67ed996fbe8fc6c4a8015f85 (patch)
tree301e8caec8a2b63dbd6445e276386ac8620ce1f5 /forms
parent488922ceada0118bcf54d52d5ed66a908316d6c7 (diff)
more std:: -> o3tl:: build fixes
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;
}