]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
fix one ambiguity, and comment out a un-implemented operator
[lyx.git] / src / paragraph.h
index 58f25960f6bdd2b7fd77e6e50f4594b1fa490f8c..82d0732fe32722e57480b4c5da5b0c6df75dba27 100644 (file)
@@ -133,7 +133,8 @@ public:
        bool Paragraph::emptyTag() const;
 
        /// Get the id of the paragraph, usefull for docbook and linuxdoc
-       std::string getID() const;
+       std::string getID(Buffer const & buf,
+                         OutputParams const & runparams) const;
 
        // Get the first word of a paragraph, return the position where it left
        lyx::pos_type getFirstWord(Buffer const & buf,
@@ -327,7 +328,7 @@ public:
        ///
        bool isHfill(lyx::pos_type pos) const;
        /// hinted by profiler
-       bool isInset(lyx::pos_type pos) const { return getChar(pos) == META_INSET; }
+       bool isInset(lyx::pos_type pos) const { return getChar(pos) == static_cast<value_type>(META_INSET); }
        ///
        bool isNewline(lyx::pos_type pos) const;
        ///