]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Color.C
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / Color.C
index 7b1bd7a6062f009b7c99e537415df8404e5fea01..fdb6ed963b7d84066bd8fc99e1970dd034695f8c 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "lyx_forms.h"
 
+#include "LColor.h"
+
 #include "support/std_sstream.h"
 
 #include <cmath>
@@ -30,6 +32,7 @@ using std::setw;
 
 using std::istringstream;
 using std::ostringstream;
+using std::string;
 
 
 namespace {
@@ -48,7 +51,7 @@ int hexstrToInt(string const & str)
 
 
 
-bool getRGBColor(LColor::color col,
+bool getRGBColor(LColor_color col,
                 unsigned int & r, unsigned int & g, unsigned int & b)
 {
        string const name = lcolor.getX11Name(col);