Cleanup header.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23221 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-25 09:02:35 +00:00
parent f658224e5c
commit 477366d8ee

View File

@ -10,20 +10,15 @@
#include <config.h>
#include "WordList.h"
#include "support/convert.h"
#include "support/debug.h"
#include "support/docstring.h"
#include "support/weighted_btree.h"
#include <boost/assert.hpp>
#include <support/convert.h>
#include <support/debug.h>
#include <support/docstring.h>
#include <support/weighted_btree.h>
#include <WordList.h>
#include <algorithm>
#include <map>
#include <iostream>
#include <set>
namespace lyx {
///
@ -58,8 +53,7 @@ WordList::~WordList()
docstring const & WordList::word(size_t idx) const
{
Impl::Words::const_iterator it
= d->words_.find_summed_weight(idx);
Impl::Words::const_iterator it = d->words_.find_summed_weight(idx);
BOOST_ASSERT(it != d->words_.end());
return it->first;
}