]> git.lyx.org Git - features.git/commitdiff
* cosmetic
authorStefan Schimanski <sts@lyx.org>
Fri, 22 Feb 2008 15:26:52 +0000 (15:26 +0000)
committerStefan Schimanski <sts@lyx.org>
Fri, 22 Feb 2008 15:26:52 +0000 (15:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23132 a592a061-630c-0410-9148-cb99ea01b6c8

src/rowpainter.cpp
src/rowpainter.h

index 75d6071ddb2dbeb9624f12ca8a82475056ff120d..40af9b99d7278e813bc123da317c380a6045bb1d 100644 (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();
index e7f21f0be3e267a56bca7b864829a2a8bf307aab..76ac59116e513f19097c3fbecb388071312b77e7 100644 (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;