]> git.lyx.org Git - lyx.git/blobdiff - src/xml.h
MathML: update code for InsetMathCases to newest classes.
[lyx.git] / src / xml.h
index 471d925201f44d4e6cf21999b56a8c657c2643b0..bf72fac9463d4a5d5d2dea055bfab9c5befe17e2 100644 (file)
--- a/src/xml.h
+++ b/src/xml.h
@@ -101,7 +101,7 @@ public:
        /// Is the last tag that was added to the stream a new line (CR)? This is mostly to known
        /// whether a new line must be added. Therefore, consider that an empty stream just had a CR,
        /// that simplifies the logic using this code.
-       bool isLastTagCR() const { return is_last_tag_cr_; };
+       bool isLastTagCR() const { return is_last_tag_cr_; }
        ///
        void writeError(std::string const &);
        ///
@@ -143,6 +143,7 @@ namespace xml {
 docstring escapeChar(char_type c, XMLStream::EscapeSettings e);
 
 /// Escape the given character, if necessary, to an entity.
+/// \param c must be ASCII
 docstring escapeChar(char c, XMLStream::EscapeSettings e);
 
 /// Escape a word instead of a single character
@@ -151,9 +152,6 @@ docstring escapeString(docstring const & raw, XMLStream::EscapeSettings e=XMLStr
 /// cleans \param str for use as an attribute by replacing all non-altnum by "_"
 docstring cleanAttr(docstring const & str);
 
-/// \p c must be ASCII
-docstring escapeChar(char c, XMLStream::EscapeSettings e);
-
 /// replaces illegal characters from ID attributes
 docstring cleanID(docstring const &orig);