]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.cpp
Add \makeat switches to babel settings if necessary.
[lyx.git] / src / graphics / GraphicsParams.cpp
index c5274f6552701f338f26d0343e829c74468f7013..a53d2c57b1ffb4f038c998cde7ceeea046f9b34c 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "Length.h"
 
+#include <cstdlib>
 #include <sstream>
 
 using namespace std;
@@ -22,7 +23,7 @@ namespace lyx {
 namespace graphics {
 
 Params::Params()
-       : display(ColorDisplay),
+       : display(true),
          scale(100),
          angle(0)
 {}
@@ -44,7 +45,7 @@ bool operator!=(Params const & a, Params const & b)
 }
 
 
-std::ostream & operator<<(std::ostream & os, BoundingBox const & bb)
+ostream & operator<<(ostream & os, BoundingBox const & bb)
 {
        os << bb.xl << ' ' << bb.yb << ' ' << bb.xr << ' ' << bb.yt;
        return os;
@@ -62,7 +63,7 @@ BoundingBox::BoundingBox(string const & bb)
        if (bb.empty())
                return;
 
-       std::istringstream is(bb.c_str());
+       istringstream is(bb.c_str());
        string a, b, c, d;
        is >> a >> b >> c >> d;