]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbib.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetbib.h
index 69eed53afa187d3dedfa2aee335e0215271d2e3e..a478f646f9f0061e10f7ca4d0d7588d104786563 100644 (file)
@@ -18,8 +18,6 @@
 
 #include "insetcommand.h"
 
-using std::ostream;
-
 class Buffer;
 
 /** Used to insert citations  
@@ -29,6 +27,7 @@ public:
        ///
        InsetCitation() : InsetCommand("cite") {}
        ///
+       explicit
        InsetCitation(string const & key, string const & note = string());
         ///
        ~InsetCitation();
@@ -66,15 +65,17 @@ public:
        ///
        InsetBibKey() : InsetCommand("bibitem") { counter = 1; }
        ///
+       explicit
        InsetBibKey(string const & key, string const & label = string());
        ///
+       explicit
        InsetBibKey(InsetBibKey const *);
        ///
        ~InsetBibKey();
        ///
         Inset * Clone() const { return new InsetBibKey(this); }
        /// Currently \bibitem is used as a LyX2.x command, so we need this method.
-        void Write(ostream &) const;
+        void Write(std::ostream &) const;
        ///
        virtual string getScreenLabel() const;
         ///
@@ -132,7 +133,7 @@ public:
        ///
        void Edit(BufferView *, int x, int y, unsigned int button);
        /// 
-       int Latex(ostream &, signed char, bool) const;
+       int Latex(std::ostream &, bool fragile, bool freespace) const;
        ///
        string getKeys(char delim);
        ///