Remove redundant code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31953 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-12 00:26:49 +00:00
parent b56faec8f4
commit ea806d510c

View File

@ -637,12 +637,12 @@ void Converters::buildGraph()
{ {
// clear graph's data structures // clear graph's data structures
G_.init(formats.size()); G_.init(formats.size());
ConverterList::iterator beg = converterlist_.begin();
ConverterList::iterator const end = converterlist_.end();
// each of the converters knows how to convert one format to another // each of the converters knows how to convert one format to another
// so, for each of them, we create an arrow on the graph, going from // so, for each of them, we create an arrow on the graph, going from
// the one to the other // the one to the other
for (ConverterList::iterator it = beg; it != end ; ++it) { ConverterList::iterator it = converterlist_.begin();
ConverterList::iterator const end = converterlist_.end();
for (; it != end ; ++it) {
int const from = formats.getNumber(it->from); int const from = formats.getNumber(it->from);
int const to = formats.getNumber(it->to); int const to = formats.getNumber(it->to);
G_.addEdge(from, to); G_.addEdge(from, to);