]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathColor.h
Properly fix bug 3258.
[lyx.git] / src / mathed / InsetMathColor.h
index 5d23261a077d522ddf2e78d277cd2fd550574696..01f53298bf3480c08298656c14206ea813a5d307 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef MATH_COLORINSET_H
 #define MATH_COLORINSET_H
 
-#include "LColor.h"
+#include "Color.h"
 
 #include "InsetMathNest.h"
 
@@ -25,7 +25,7 @@ class InsetMathColor : public InsetMathNest {
 public:
        /// Create a color inset from LyX color number
        explicit InsetMathColor(bool oldstyle,
-               LColor_color const & color = LColor::none);
+               Color_color const & color = Color::none);
        /// Create a color inset from LaTeX color name
        explicit InsetMathColor(bool oldstyle, docstring const & color);
        ///
@@ -44,7 +44,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// width of '[' in current font
        mutable int w_;
        ///