X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbox.C;h=aae0bf10ea47193dca8f736446c127b4df117c7a;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=9c2213ef9315060c87e0ccd702252488475745d6;hpb=50d4d2bd7e78cc20c323d4d7adcfe164c01e0d15;p=lyx.git diff --git a/src/box.C b/src/box.C index 9c2213ef93..aae0bf10ea 100644 --- a/src/box.C +++ b/src/box.C @@ -14,13 +14,21 @@ #include "box.h" -#include "support/LOstream.h" +#include "support/std_ostream.h" + + +namespace lyx { using std::ostream; -Box::Box(int x1_, int x2_, int y1_, int y2_) : - x1(x1_), x2(x2_), y1(y1_), y2(y2_) +Box::Box() + : x1(0), x2(0), y1(0), y2(0) +{} + + +Box::Box(int x1_, int x2_, int y1_, int y2_) + : x1(x1_), x2(x2_), y1(y1_), y2(y2_) {} @@ -36,3 +44,6 @@ ostream & operator<<(ostream & os, Box const & b) << " x2,y2: " << b.x2 << ',' << b.y2 << std::endl; } + + +} // namespace lyx