#include "graphics/GraphicsParams.h"
#include "support/lstrings.h"
-#include "support/lyxfunctional.h" // compare_memfun
#include "support/lyxlib.h"
#include "lyx_forms.h"
# endif
#endif
+#include <boost/bind.hpp>
#include <boost/tuple/tuple.hpp>
+using lyx::frontend::getRGBColor;
using lyx::support::float_equal;
using lyx::support::prefixIs;
using lyx::support::rtrim;
+using boost::bind;
+
+using std::equal_to;
using std::find_if;
using std::string;
Formats::const_iterator it =
find_if(begin, end,
- lyx::compare_memfun(&Format::extension, ext));
+ bind(equal_to<string>(),
+ bind(&Format::extension, _1),
+ ext));
if (it != end)
fmts.push_back(it->name());
}