]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.C
Some more changes for updating text-insets.
[lyx.git] / src / insets / insetspecialchar.C
index cf8d0b6202e4d257200d152423b082de633c675f..172e0d4aaab69ea7f5fba03e541659502bb224de 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,
-                           int baseline, float & x) const
+void InsetSpecialChar::draw(BufferView * bv, LyXFont const & f,
+                           int baseline, float & x, bool) const
 {
+       Painter & pain = bv->painter();
        LyXFont font(f);
+
        switch (kind) {
        case HYPHENATION:
        {