]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/Color.C
change "support/std_sstream.h" to <sstream>
[features.git] / src / frontends / xforms / Color.C
index 8b688d47344e596a3c98e7164e3389af8d684fbf..c39283214a813354ad75b79b95b4e08435233a0d 100644 (file)
 
 #include "LColor.h"
 
-#include "support/std_sstream.h"
-
 #include <cmath>
+#include <sstream>
 #include <iomanip>
 
-
 #ifndef CXX_GLOBAL_CSTD
 using std::floor;
 #endif
@@ -32,7 +30,10 @@ using std::setw;
 
 using std::istringstream;
 using std::ostringstream;
+using std::string;
 
+namespace lyx {
+namespace frontend {
 
 namespace {
 
@@ -50,7 +51,7 @@ int hexstrToInt(string const & str)
 
 
 
-bool getRGBColor(EnumLColor col,
+bool getRGBColor(LColor_color col,
                 unsigned int & r, unsigned int & g, unsigned int & b)
 {
        string const name = lcolor.getX11Name(col);
@@ -197,3 +198,6 @@ HSVColor::HSVColor(RGBColor const & rgb)
                        h += 360;
        }
 }
+
+} // namespace frontend
+} // namespace lyx