Correct datatypes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30968 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-08-10 19:47:37 +00:00
parent 231c2e2d61
commit 742bf1b950
2 changed files with 4 additions and 4 deletions

View File

@ -791,8 +791,8 @@ private:
} // anon namespace
pit_type TextMetrics::rowBreakPoint(int width, pit_type const pit,
pit_type pos) const
pos_type TextMetrics::rowBreakPoint(int width, pit_type const pit,
pos_type pos) const
{
ParagraphMetrics const & pm = par_metrics_[pit];
Paragraph const & par = text_->getPar(pit);

View File

@ -144,10 +144,10 @@ private:
/// sets row.end to the pos value *after* which a row should break.
/// for example, the pos after which isNewLine(pos) == true
pit_type rowBreakPoint(
pos_type rowBreakPoint(
int width,
pit_type const pit,
pit_type first
pos_type first
) const;
/// returns the minimum space a row needs on the screen in pixel