]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.C
zlib stuff
[lyx.git] / src / rowpainter.C
index 4077d6ee0b04f0c7490f89c93437dfdc382eda60..86bb5f5eb0180345eaed62de1746a6a8788c9b21 100644 (file)
@@ -139,7 +139,7 @@ RowPainter::RowPainter(BufferView const & bv, LyXText const & text,
 /// "temporary"
 LyXFont const RowPainter::getFont(pos_type pos) const
 {
-       return text_.getFont(bv_.buffer(), pit_, pos);
+       return text_.getFont(pit_, pos);
 }
 
 
@@ -157,7 +157,7 @@ int RowPainter::singleWidth(lyx::pos_type pos, char c) const
 
 LyXFont const RowPainter::getLabelFont() const
 {
-       return text_.getLabelFont(bv_.buffer(), pit_);
+       return text_.getLabelFont(pit_);
 }
 
 
@@ -1076,7 +1076,6 @@ void paintRows(BufferView const & bv, LyXText const & text,
        // calling metrics() directly is (a) slow and (b) crashs
        if (&text == bv.text) {
 #if 1
-               lyxerr << "paintRows, global...\n";
                // make sure all insets are updated
                ParagraphList::iterator pit = text.ownerParagraphs().begin();
                ParagraphList::iterator end = text.ownerParagraphs().end();