]> git.lyx.org Git - lyx.git/blobdiff - src/box.C
remove some very old dead code
[lyx.git] / src / box.C
index 41bb8bcfe31b71c34a1fc31f857a669bf7d36d56..5da0e3f902e745fea647f440ab9fe4ab8ba14c0e 100644 (file)
--- a/src/box.C
+++ b/src/box.C
@@ -8,16 +8,20 @@
 
 // Code moved out of line and out of box.h by Angus (7 Jan 2002)
 
+#include <config.h>
+
 #include "box.h"
 
 #include "support/LOstream.h"
 
 using std::ostream;
 
+
 Box::Box(int x1_, int x2_, int y1_, int y2_) :
        x1(x1_), x2(x2_), y1(y1_), y2(y2_)
 {}
 
+
 bool Box::contained(int x, int y)
 {
        return (x1 < x && x2 > x &&
@@ -27,6 +31,7 @@ bool Box::contained(int x, int y)
 
 ostream & operator<<(ostream & o, Box const & b)
 {
-       return o << "x1,y1: " << b.x1 << "," << b.y1
-               << " x2,y2: " << b.x2 << "," << b.y2 << std::endl;
+       return o << "x1,y1: " << b.x1 << ',' << b.y1
+                << " x2,y2: " << b.x2 << ',' << b.y2
+                << std::endl;
 }