]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ColorCache.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / ColorCache.cpp
index 4a77f0ff63eb3a1be43d48e3328ab3dab6374ac3..bfccf7a6f60a9a8473055f042a1bb270ab5805aa 100644 (file)
 #include <config.h>
 
 #include "ColorCache.h"
+
 #include "Color.h"
 
+#include <string>
 
 namespace lyx {
 
@@ -22,7 +24,7 @@ const QColor grey80(0xcc, 0xcc, 0xcc);
 const QColor grey90(0xe5, 0xe5, 0xe5);
 const QColor none = Qt::black;
 
-QColor const & ColorCache::get(Color_color col) const
+QColor const & ColorCache::get(ColorCode col) const
 {
        lcolor_map::const_iterator cit = colormap.find(col);
        if (cit != colormap.end())