]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.C
ws changes only
[lyx.git] / src / metricsinfo.C
index b715e14535b54dc867e01d524a09aa7638944fe3..7307defd4f5575ce7c001634a7404249c05cedb5 100644 (file)
@@ -16,6 +16,7 @@
 #include "BufferView.h"
 #include "LColor.h"
 
+using std::string;
 
 
 MetricsBase::MetricsBase()
@@ -145,6 +146,7 @@ FontSetChanger::FontSetChanger(MetricsBase & mb, char const * name)
 {
        save_ = mb;
        mb.fontname = name;
+       mb.font = LyXFont();
        augmentFont(mb.font, name);
 }
 
@@ -183,5 +185,3 @@ ColorChanger::~ColorChanger()
 {
        orig_.setColor(lcolor.getFromGUIName(save_));
 }
-
-