]> 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 40e155ead67a24984796db3dc4307b3d572862fa..5d88cae11e2793a20b5cfe0bd46bdff0bf75fab2 100644 (file)
@@ -14,8 +14,8 @@
 
 #include "debug.h"
 #include "gettext.h"
-#include "LColor.h"
-#include "paragraph.h"
+#include "Color.h"
+#include "Paragraph.h"
 
 #include <sstream>
 
@@ -31,8 +31,8 @@ using std::ostringstream;
 InsetOptArg::InsetOptArg(BufferParams const & ins)
        : InsetCollapsable(ins)
 {
-       LyXFont font(LyXFont::ALL_SANE);
-       font.setColor(LColor::collapsable);
+       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.setColor(LColor::collapsable);
+       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));
 }