X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_binaryopinset.C;h=ce6dc2c5ace9dd46ae2e73d75351d4577557bdb5;hb=edbef46cd7865dab72ab6b503d62e2492479d297;hp=7d7586d0485579c3e5a74fe828cdee3c64ea0ab1;hpb=1f9e9cf5173fa1fbafdff5f21080e5194b05818b;p=lyx.git diff --git a/src/mathed/math_binaryopinset.C b/src/mathed/math_binaryopinset.C index 7d7586d048..ce6dc2c5ac 100644 --- a/src/mathed/math_binaryopinset.C +++ b/src/mathed/math_binaryopinset.C @@ -13,7 +13,7 @@ #include "math_binaryopinset.h" #include "PainterInfo.h" -#include "support/LOstream.h" +#include "support/std_ostream.h" #include "math_support.h" #include "math_mathmlstream.h" @@ -26,9 +26,9 @@ MathBinaryOpInset::MathBinaryOpInset(char op) {} -InsetBase * MathBinaryOpInset::clone() const +auto_ptr MathBinaryOpInset::clone() const { - return new MathBinaryOpInset(*this); + return auto_ptr(new MathBinaryOpInset(*this)); } @@ -38,7 +38,9 @@ int MathBinaryOpInset::opwidth() const } +#ifdef WITH_WARNINGS #warning Andre, have a look here. (Lgb) +#endif #if 0 // That this is not declared in class MathBinaryOpInset makes // Doxygen give warnings. (Lgb) @@ -53,6 +55,7 @@ void MathBinaryOpInset::metrics(MetricsInfo & mi, Dimension & dim) const } #endif + void MathBinaryOpInset::draw(PainterInfo & pain, int x, int y) const { cell(0).draw(pain, x, y);