]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.C
move everything into namespace lyx
[lyx.git] / src / metricsinfo.C
index bb14576342a68163af4a899f3c9e440fb3994421..ccd72404c3b6714659992d7522244fc26a8040d5 100644 (file)
 #include "LColor.h"
 #include "metricsinfo.h"
 
-#include "mathed/math_support.h"
+#include "mathed/MathSupport.h"
 
 #include "frontends/Painter.h"
 
 #include <boost/assert.hpp>
 
-using lyx::char_type;
-using lyx::docstring;
+
+namespace lyx {
 
 using std::string;
 
@@ -113,6 +113,7 @@ ArrayChanger::ArrayChanger(MetricsBase & mb)
 {}
 
 
+
 ShapeChanger::ShapeChanger(LyXFont & font, LyXFont::FONT_SHAPE shape)
        : Changer<LyXFont, LyXFont::FONT_SHAPE>(font)
 {
@@ -120,6 +121,7 @@ ShapeChanger::ShapeChanger(LyXFont & font, LyXFont::FONT_SHAPE shape)
        orig_.setShape(shape);
 }
 
+
 ShapeChanger::~ShapeChanger()
 {
        orig_.setShape(save_);
@@ -200,3 +202,6 @@ ColorChanger::~ColorChanger()
 {
        orig_.setColor(lcolor.getFromLyXName(save_));
 }
+
+
+} // namespace lyx