]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetparent.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetparent.h
index 15e389e3e4ac9c3ecdd3708c5225f8c06fb96973..293ca4df381dde907bdd0de3756afb18e1a0ffc7 100644 (file)
@@ -18,8 +18,6 @@
 #include "insetcommand.h"
 #include "gettext.h"
 
-using std::ostream;
-
 class Buffer;
 
 /** Reference to the parent document.
@@ -32,15 +30,14 @@ public:
        /// Non-standard LyX macro
        InsetParent() : InsetCommand("lyxparent") {}
        ///
+       explicit
         InsetParent(string const & fn, Buffer * owner = 0);
        /// 
-       int Latex(ostream &, signed char fragile, bool free_spc) const;
+       int Latex(std::ostream &, bool fragile, bool free_spc) const;
         ///
         Inset * Clone() const { return new InsetParent(getContents()); }
        ///
-       string getScreenLabel() const {
-               return string(_("Parent:")) + getContents();
-       }
+       string getScreenLabel() const;
         ///
        void Edit(BufferView *, int, int, unsigned int);
         ///