X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlof.h;h=20e9790c5d0dbd08c11683e5747da88856c17cf3;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=3259c16d8533cfb4eed2b658f097833dd6b4bfc1;hpb=0088121bd8c3fc7f2109e8dc9b22b73ca193f20e;p=lyx.git diff --git a/src/insets/insetlof.h b/src/insets/insetlof.h index 3259c16d85..20e9790c5d 100644 --- a/src/insets/insetlof.h +++ b/src/insets/insetlof.h @@ -12,15 +12,15 @@ #ifndef INSET_LOF_H #define INSET_LOF_H -#ifdef __GNUG__ -#pragma interface -#endif - #include "insetcommand.h" #include "gettext.h" // Created by Lgb 970527 +#ifdef __GNUG__ +#pragma interface +#endif + /** Used to insert table of contents */ class InsetLOF : public InsetCommand { @@ -28,11 +28,12 @@ public: /// InsetLOF() : InsetCommand("listoffigures") {} /// + explicit InsetLOF(Buffer * b) : InsetCommand("listoffigures"), owner(b) {} /// Inset * Clone() const { return new InsetLOF(owner); } /// - string getScreenLabel() const { return _("List of Figures"); } + string getScreenLabel() const; /// EDITABLE Editable() const {