]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.h
ws changes only
[lyx.git] / src / metricsinfo.h
index b647dc458e7417a9b25d3ef36ea7225a799bbfea..4b16ac312002bcc8a294336208398950ee28b4a3 100644 (file)
@@ -13,7 +13,8 @@
 #define METRICSINFO_H
 
 #include "lyxfont.h"
-#include "support/std_string.h"
+
+#include <string>
 
 class Painter;
 class BufferView;
@@ -48,7 +49,7 @@ struct MetricsBase {
        /// current math style (display/text/script/..)
        Styles style;
        /// name of current font - mathed specific
-       string fontname;
+       std::string fontname;
        /// This is the width available in pixels
        int textwidth;
 };
@@ -176,9 +177,9 @@ struct WidthChanger : public Changer<MetricsBase>
 
 
 // temporarily change the used color
-struct ColorChanger : public Changer<LyXFont, string> {
+struct ColorChanger : public Changer<LyXFont, std::string> {
        ///
-       ColorChanger(LyXFont & font, string const & color);
+       ColorChanger(LyXFont & font, std::string const & color);
        ///
        ~ColorChanger();
 };