]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.cpp
Add context menu for outline operations. Choice of words might not be best.
[lyx.git] / src / graphics / GraphicsParams.cpp
index 0677d95b2abc4d066e194a7ca8ccaedcb399611d..659cbe84c07c062bd2c26fb7946d2bdd84b1afd8 100644 (file)
 
 #include "Length.h"
 
+#include <cstdlib>
 #include <sstream>
 
-
-using std::string;
-using std::abs;
-
+using namespace std;
 
 namespace lyx {
 namespace graphics {
@@ -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;