X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPhantom.cpp;h=ed9cfd8cc903b270c4c0c4e3eefe4ad61fcec810;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=583e9f0b899ea7773a9db9cba8f645337e662062;hpb=89662a6852ca8f68caa557808d7b7e1d669344d4;p=lyx.git diff --git a/src/mathed/InsetMathPhantom.cpp b/src/mathed/InsetMathPhantom.cpp index 583e9f0b89..ed9cfd8cc9 100644 --- a/src/mathed/InsetMathPhantom.cpp +++ b/src/mathed/InsetMathPhantom.cpp @@ -249,7 +249,7 @@ void InsetMathPhantom::draw(PainterInfo & pi, int x, int y) const } -void InsetMathPhantom::write(WriteStream & os) const +void InsetMathPhantom::write(TeXMathStream & os) const { MathEnsurer ensurer(os); if (os.fragile()) @@ -378,8 +378,8 @@ void InsetMathPhantom::validate(LaTeXFeatures & features) const } -bool InsetMathPhantom::visibleContents() const -{ +bool InsetMathPhantom::visibleContents() const +{ return kind_ == phantom || kind_ == vphantom || kind_ == hphantom; }