]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMath.cpp
Cleanup headers
[features.git] / src / mathed / InsetMath.cpp
index 40cb9066062eaa99c68d7affd3705232af987bfc..d12474f2495e24548bae81f28f6c180d4743850e 100644 (file)
@@ -94,9 +94,9 @@ MathData const & InsetMath::cell(idx_type) const
 }
 
 
-InsetMath::marker_type InsetMath::marker(BufferView const *) const
+marker_type InsetMath::marker(BufferView const *) const
 {
-       return nargs() > 0 ? MARKER : NO_MARKER;
+       return nargs() > 0 ? marker_type::MARKER : marker_type::NO_MARKER;
 }
 
 
@@ -104,7 +104,7 @@ bool InsetMath::addToMathRow(MathRow & mrow, MetricsInfo & mi) const
 {
        MathRow::Element e(mi, MathRow::INSET, mathClass());
        e.inset = this;
-       e.marker = mi.base.macro_nesting ? NO_MARKER : marker(mi.base.bv);
+       e.marker = mi.base.macro_nesting ? marker_type::NO_MARKER : marker(mi.base.bv);
        mrow.push_back(e);
        return true;
 }