incremental cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21063 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-10-19 14:47:32 +00:00
parent 4d9007bd61
commit 2f72a0a721
3 changed files with 12 additions and 15 deletions

View File

@ -31,6 +31,18 @@ using std::ostream;
namespace lyx {
namespace {
class matchFT
{
public:
/// used by lower_bound and upper_bound
int operator()(FontTable const & a, FontTable const & b) const {
return a.pos() < b.pos();
}
};
} // anon namespace
FontList::iterator FontList::fontIterator(pos_type pos)
{

View File

@ -62,16 +62,6 @@ private:
Font font_;
};
class matchFT
{
public:
/// used by lower_bound and upper_bound
int operator()(FontTable const & a, FontTable const & b) const {
return a.pos() < b.pos();
}
};
///
class FontList
{

View File

@ -55,13 +55,8 @@
#include "support/convert.h"
#include "support/unicode.h"
#include <boost/bind.hpp>
#include <boost/next_prior.hpp>
#include <algorithm>
#include <sstream>
using std::distance;
using std::endl;
using std::string;
using std::ostream;