mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Correct datatypes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30968 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
231c2e2d61
commit
742bf1b950
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user