X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetparent.h;h=293ca4df381dde907bdd0de3756afb18e1a0ffc7;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=15e389e3e4ac9c3ecdd3708c5225f8c06fb96973;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/insets/insetparent.h b/src/insets/insetparent.h index 15e389e3e4..293ca4df38 100644 --- a/src/insets/insetparent.h +++ b/src/insets/insetparent.h @@ -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); ///