]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.cpp
Fix #7720: plain text export of branches should contain only content of the inset.
[lyx.git] / src / graphics / GraphicsParams.cpp
index 0677d95b2abc4d066e194a7ca8ccaedcb399611d..a53d2c57b1ffb4f038c998cde7ceeea046f9b34c 100644 (file)
 
 #include "Length.h"
 
+#include <cstdlib>
 #include <sstream>
 
-
-using std::string;
-using std::abs;
-
+using namespace std;
 
 namespace lyx {
 namespace graphics {
 
 Params::Params()
-       : display(ColorDisplay),
+       : display(true),
          scale(100),
          angle(0)
 {}
@@ -47,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;
@@ -65,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;