]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.cpp
Make listings dialog translatable (mostly strings from InsetListingsParams), fix...
[lyx.git] / src / insets / InsetOptArg.cpp
index d6a85574bb3e74c21f5b0486036159416c7f7aa8..5d88cae11e2793a20b5cfe0bd46bdff0bf75fab2 100644 (file)
@@ -31,7 +31,7 @@ using std::ostringstream;
 InsetOptArg::InsetOptArg(BufferParams const & ins)
        : InsetCollapsable(ins)
 {
-       LyXFont font(LyXFont::ALL_SANE);
+       Font font(Font::ALL_SANE);
        font.setColor(Color::collapsable);
        setLabelFont(font);
        setLabel(_("opt"));
@@ -41,16 +41,16 @@ InsetOptArg::InsetOptArg(BufferParams const & ins)
 InsetOptArg::InsetOptArg(InsetOptArg const & in)
        : InsetCollapsable(in)
 {
-       LyXFont font(LyXFont::ALL_SANE);
+       Font font(Font::ALL_SANE);
        font.setColor(Color::collapsable);
        setLabelFont(font);
        setLabel(_("opt"));
 }
 
 
-auto_ptr<InsetBase> InsetOptArg::doClone() const
+auto_ptr<Inset> InsetOptArg::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetOptArg(*this));
+       return auto_ptr<Inset>(new InsetOptArg(*this));
 }