* RowList_fwd.h: change list<> to vector<> to gain speed

after suggestion from Alfredo


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7967 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-10-23 15:06:52 +00:00
parent a370d413af
commit 629f29ce80
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2003-10-23 André Pönitz <poenitz@gmx.net>
* RowList_fwd.h: change list<> to vector<> to gain speed
after suggestion from Alfredo
2003-10-23 Alfredo Braunstein <abraunst@libero.it>
* lyxtext.h: move the bidi stuff from here...

View File

@ -12,10 +12,10 @@
#ifndef ROW_LIST_FWD_H
#define ROW_LIST_FWD_H
#include <list>
#include <vector>
class Row;
typedef std::list<Row> RowList;
typedef std::vector<Row> RowList;
#endif

View File

@ -2014,8 +2014,8 @@ void LyXText::fullRebreak()
void LyXText::metrics(MetricsInfo & mi, Dimension & dim)
{
lyxerr << "LyXText::metrics: width: " << mi.base.textwidth
<< " workWidth: " << workWidth() << "\nfont: " << mi.base.font << endl;
//lyxerr << "LyXText::metrics: width: " << mi.base.textwidth
// << " workWidth: " << workWidth() << "\nfont: " << mi.base.font << endl;
//BOOST_ASSERT(mi.base.textwidth);
//anchor_y_ = 0;