X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlatexaccent.h;h=018eb86d181c03fab67a187bae5cf2d2a09f0882;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=3a80b51f5eb4795cd58a046f293f093aefd53d04;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/insets/insetlatexaccent.h b/src/insets/insetlatexaccent.h index 3a80b51f5e..018eb86d18 100644 --- a/src/insets/insetlatexaccent.h +++ b/src/insets/insetlatexaccent.h @@ -19,8 +19,6 @@ #include "LString.h" #include "lyxlex.h" -using std::ostream; - /** Insertion of accents Proper handling of accented characters. @@ -34,6 +32,7 @@ public: /// InsetLatexAccent(); /// + explicit InsetLatexAccent(string const & string); /// int ascent(Painter &, LyXFont const &) const; @@ -51,15 +50,17 @@ public: bool DisplayISO8859_9(Painter &, LyXFont const & font, int baseline, float & x) const; /// - void Write(ostream &) const; + void Write(std::ostream &) const; /// void Read(LyXLex & lex); /// - int Latex(ostream &, signed char fragile, bool free_spc) const; + int Latex(std::ostream &, bool fragile, bool free_spc) const; + /// + int Ascii(std::ostream &) const; /// - int Linuxdoc(ostream &) const; + int Linuxdoc(std::ostream &) const; /// - int DocBook(ostream &) const; + int DocBook(std::ostream &) const; /// bool Deletable() const; /// @@ -116,7 +117,7 @@ public: LSLASH }; private: - friend ostream & operator<<(ostream &, ACCENT_TYPES); + friend std::ostream & operator<<(std::ostream &, ACCENT_TYPES); /// Check if we know the modifier and can display it ok on screen. void checkContents(); ///