Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_xmloff / functional.hxx
blob132ad537311988578f984d130cb954e7ce4b52d0
1 #ifndef _XMLOFF_FUNCTIONAL_HXX
2 #define _XMLOFF_FUNCTIONAL_HXX
4 #ifndef _RTL_USTRING_HXX_
5 #include <rtl/ustring.hxx>
6 #endif
8 /* THIS HEADER IS DEPRECATED. USE comphelper/stl_types.hxx INSTEAD!!! */
10 /** @#file
12 * re-implement STL functors as needed
14 * The standard comparison operators from the STL cause warnings with
15 * several compilers about our sal_Bool (=unsigned char) being
16 * converted to bool (C++ bool). We wish to avoid that.
19 struct less_functor
21 bool operator()(const ::rtl::OUString& x,
22 const ::rtl::OUString& y) const
24 return 0 != (x<y);
28 namespace binfilter {
29 }//end of namespace binfilter
30 #endif