Make LyX source look a little less like the human genome

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9910 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2005-05-05 18:39:59 +00:00
parent 3956781c54
commit 5c3631a048
2 changed files with 4 additions and 21 deletions

View File

@ -1,3 +1,7 @@
2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
* insetbibitem.C (bibitemMaxWidth): removed as obsolete
2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>

View File

@ -126,27 +126,6 @@ int InsetBibitem::plaintext(Buffer const &, ostream & os,
return 0;
}
// ale070405 This function maybe shouldn't be here. We'll fix this at 0.13.
int bibitemMaxWidth(BufferView * bv, LyXFont const &)
{
int w = 0;
// Ha, now we are mainly at 1.2.0 and it is still here (Jug)
// Does look like a hack? It is! (but will change at 0.13)
ParagraphList::iterator it = bv->buffer()->paragraphs().begin();
ParagraphList::iterator end = bv->buffer()->paragraphs().end();
for (; it != end; ++it) {
if (it->bibitem()) {
#ifdef WITH_WARNINGS
#warning metrics broken!
#endif
int const wx = it->bibitem()->width();
if (wx > w)
w = wx;
}
}
return w;
}
// ale070405
string const bibitemWidest(Buffer const & buffer)