]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.cpp
Correct the mess introduced in r33250.
[lyx.git] / src / graphics / GraphicsParams.cpp
index e5c9b3d24f75fb4302737ff6307076159b552b5e..a53d2c57b1ffb4f038c998cde7ceeea046f9b34c 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "Length.h"
 
+#include <cstdlib>
 #include <sstream>
 
 using namespace std;
@@ -22,10 +23,9 @@ namespace lyx {
 namespace graphics {
 
 Params::Params()
-       : display(ColorDisplay),
+       : display(true),
          scale(100),
-         angle(0),
-         icon("")
+         angle(0)
 {}
 
 
@@ -35,8 +35,7 @@ bool operator==(Params const & a, Params const & b)
                a.display == b.display &&
                a.bb == b.bb &&
                a.scale == b.scale &&
-               a.angle == b.angle &&
-               a.icon == b.icon);
+               a.angle == b.angle);
 }