mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Complete the FontTag typeinfo
This commit is contained in:
parent
8b6e3d3749
commit
687ccdbb32
@ -54,6 +54,7 @@ namespace xml {
|
||||
docstring StartTag::writeTag() const { return docstring(); }
|
||||
docstring StartTag::writeEndTag() const { return docstring(); }
|
||||
bool StartTag::operator==(FontTag const & rhs) const { return rhs == *this; }
|
||||
bool FontTag::operator==(StartTag const & tag) const { FontTag const * const ftag = tag.asFontTag(); if (!ftag) return false; return (font_type_ == ftag->font_type_); }
|
||||
}
|
||||
|
||||
} // namespace lyx
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "LaTeXFeatures.h"
|
||||
#include "LyXRC.h"
|
||||
#include "output_xhtml.h"
|
||||
#include "xml.h"
|
||||
|
||||
#include "support/Messages.h"
|
||||
|
||||
@ -117,6 +118,7 @@ namespace xml {
|
||||
docstring StartTag::writeTag() const { return docstring(); }
|
||||
docstring StartTag::writeEndTag() const { return docstring(); }
|
||||
bool StartTag::operator==(FontTag const & rhs) const { return rhs == *this; }
|
||||
bool FontTag::operator==(StartTag const & tag) const { FontTag const * const ftag = tag.asFontTag(); if (!ftag) return false; return (font_type_ == ftag->font_type_); }
|
||||
}
|
||||
|
||||
} // namespace lyx
|
||||
|
Loading…
Reference in New Issue
Block a user