]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetNewline.cpp
index b016ed3447d53c80b62eb661c243d65612944422..5a1af78d3e11d3082133a584ca9e5c805a5cdb1b 100644 (file)
@@ -13,6 +13,7 @@
 #include "InsetNewline.h"
 
 #include "debug.h"
+#include "Dimension.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
 
@@ -94,7 +95,7 @@ void InsetNewline::draw(PainterInfo & pi, int x, int y) const
                xp[2] = int(x + wid * 0.625);
        }
 
-       pi.pain.lines(xp, yp, 3, Color::eolmarker);
+       pi.pain.lines(xp, yp, 3, Color_eolmarker);
 
        yp[0] = int(y - 0.500 * asc * 0.75);
        yp[1] = int(y - 0.500 * asc * 0.75);
@@ -110,7 +111,7 @@ void InsetNewline::draw(PainterInfo & pi, int x, int y) const
                xp[2] = int(x);
        }
 
-       pi.pain.lines(xp, yp, 3, Color::eolmarker);
+       pi.pain.lines(xp, yp, 3, Color_eolmarker);
 }