]> git.lyx.org Git - features.git/blobdiff - src/insets/insetspecialchar.C
Various fixes in insettext/tabular to make update work selective.
[features.git] / src / insets / insetspecialchar.C
index cf8d0b6202e4d257200d152423b082de633c675f..81431d769faca7f7c926e5236efeb5b16ec05d9b 100644 (file)
@@ -16,6 +16,7 @@
 #include "insetspecialchar.h"
 #include "debug.h"
 #include "LaTeXFeatures.h"
+#include "BufferView.h"
 #include "Painter.h"
 #include "font.h"
 
@@ -71,10 +72,12 @@ int InsetSpecialChar::width(Painter &, LyXFont const & font) const
 }
 
 
-void InsetSpecialChar::draw(Painter & pain, LyXFont const & f,
+void InsetSpecialChar::draw(BufferView * bv, LyXFont const & f,
                            int baseline, float & x) const
 {
+       Painter & pain = bv->painter();
        LyXFont font(f);
+
        switch (kind) {
        case HYPHENATION:
        {