]> git.lyx.org Git - features.git/blobdiff - src/graphics/PreviewLoader.cpp
Move Color::color enum to ColorCode.h
[features.git] / src / graphics / PreviewLoader.cpp
index 610a2419628cea2be55defbb6dcccd8fa5250b89..0c66048806e20edc82ae85a40509970fbd21a88f 100644 (file)
@@ -21,7 +21,6 @@
 #include "Encoding.h"
 #include "Format.h"
 #include "InsetIterator.h"
-#include "Color.h"
 #include "LaTeXFeatures.h"
 #include "LyXRC.h"
 #include "output.h"
@@ -610,8 +609,8 @@ void PreviewLoader::Impl::startLoading()
        cs << pconverter_->command << ' ' << pconverter_->to << ' '
           << support::quoteName(latexfile.toFilesystemEncoding()) << ' '
           << int(font_scaling_factor_) << ' '
-          << theApp()->hexName(Color::preview) << ' '
-          << theApp()->hexName(Color::background);
+          << theApp()->hexName(Color_preview) << ' '
+          << theApp()->hexName(Color_background);
 
        string const command = support::libScriptSearch(cs.str());