From: Stefan Schimanski Date: Fri, 22 Feb 2008 15:26:52 +0000 (+0000) Subject: * cosmetic X-Git-Tag: 1.6.10~6163 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f614d46ca1f286c2afcbb7688f32b2a40037a885;p=features.git * cosmetic git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23132 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/rowpainter.cpp b/src/rowpainter.cpp index 75d6071ddb..40af9b99d7 100644 --- a/src/rowpainter.cpp +++ b/src/rowpainter.cpp @@ -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(); diff --git a/src/rowpainter.h b/src/rowpainter.h index e7f21f0be3..76ac59116e 100644 --- a/src/rowpainter.h +++ b/src/rowpainter.h @@ -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;