]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.C
add <string> and other small fixes to make
[lyx.git] / src / graphics / GraphicsParams.C
index a424546b6282ec8e15991e27b2c575faf371d123..f9317fed70dfaffb9a38dbe67b6f0f8ec3cc5fe1 100644 (file)
 
 #include <config.h>
 
-#include <cstdlib>
-
 #include "GraphicsParams.h"
-#include "Lsstream.h"
+
 #include "lyxlength.h"
 
+#include "support/std_sstream.h"
+
+
+using std::string;
 using std::abs;
 
+
 namespace lyx {
 namespace graphics {
 
@@ -44,6 +47,13 @@ bool operator!=(Params const & a, Params const & b)
 }
 
 
+std::ostream & operator<<(std::ostream & os, BoundingBox const & bb)
+{
+       os << bb.xl << ' ' << bb.yb << ' ' << bb.xr << ' ' << bb.yt;
+       return os;
+}
+
+
 BoundingBox::BoundingBox()
        : xl(0), yb(0), xr(0), yt(0)
 {}