]> git.lyx.org Git - features.git/blobdiff - src/insets/insetquotes.C
Various fixes in insettext/tabular to make update work selective.
[features.git] / src / insets / insetquotes.C
index 2e028cc40cbecec9e22af5bd5b9ec736b35910ae..f2dfa4238efc3c3419e1c0d0de02adef3aba5cc0 100644 (file)
@@ -197,13 +197,13 @@ LyXFont InsetQuotes::ConvertFont(LyXFont font)
 }
 
 
-void InsetQuotes::draw(Painter & pain, LyXFont const & font,
+void InsetQuotes::draw(BufferView * bv, LyXFont const & font,
                       int baseline, float & x) const
 {
        string text = DispString();
 
-       pain.text(int(x), baseline, text, font);
-       x += width(pain, font);
+       bv->painter().text(int(x), baseline, text, font);
+       x += width(bv->painter(), font);
 }