]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatexaccent.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetlatexaccent.h
index 3a80b51f5eb4795cd58a046f293f093aefd53d04..018eb86d181c03fab67a187bae5cf2d2a09f0882 100644 (file)
@@ -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();
        ///