* cosmetic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23132 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-22 15:26:52 +00:00
parent 7b0ea48d31
commit f614d46ca1
2 changed files with 4 additions and 4 deletions

View File

@ -768,7 +768,7 @@ void RowPainter::paintText()
// Is the inline completion in front of character?
if (font.isRightToLeft() && vpos == inlineCompletionVPos_)
paintInlineCompletion(vpos, font);
paintInlineCompletion(font);
if (par_.isSeparator(pos)) {
Font const orig_font = text_metrics_.getDisplayFont(pit_, pos);
@ -792,7 +792,7 @@ void RowPainter::paintText()
// Is the inline completion after character?
if (!font.isRightToLeft() && vpos - 1 == inlineCompletionVPos_)
paintInlineCompletion(vpos, font);
paintInlineCompletion(font);
}
// if we reach the end of a struck out range, paint it
@ -808,7 +808,7 @@ void RowPainter::paintText()
}
void RowPainter::paintInlineCompletion(pos_type & vpos, Font const & font)
void RowPainter::paintInlineCompletion(Font const & font)
{
docstring completion = pi_.base.bv->inlineCompletion();
FontInfo f = font.fontInfo();

View File

@ -63,7 +63,7 @@ private:
int paintAppendixStart(int y);
void paintFromPos(pos_type & vpos);
void paintInset(Inset const * inset, pos_type const pos);
void paintInlineCompletion(pos_type & vpos, Font const & font);
void paintInlineCompletion(Font const & font);
/// return left margin
int leftMargin() const;