]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ColorCache.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / ColorCache.cpp
index dca532b86877bf3f4652425c1b8d9c00d7331db8..bfccf7a6f60a9a8473055f042a1bb270ab5805aa 100644 (file)
 
 #include <config.h>
 
-#include "color.h"
 #include "ColorCache.h"
 
-#include "LColor.h"
+#include "Color.h"
 
+#include <string>
 
 namespace lyx {
 
@@ -24,7 +24,7 @@ const QColor grey80(0xcc, 0xcc, 0xcc);
 const QColor grey90(0xe5, 0xe5, 0xe5);
 const QColor none = Qt::black;
 
-QColor const & ColorCache::get(LColor_color col) const
+QColor const & ColorCache::get(ColorCode col) const
 {
        lcolor_map::const_iterator cit = colormap.find(col);
        if (cit != colormap.end())