mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
incremental cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21063 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4d9007bd61
commit
2f72a0a721
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user