]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FontInfo.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FontInfo.C
index 262627f0edf7ff096b348a1038f1d2385cc0f55b..13a7d5ab0e6c42185383d5a6dcd95f5d8f44be0d 100644 (file)
 
 #include "lyx_forms.h"
 
-using namespace lyx::support;
+#include <cmath>
 
 using std::abs;
 using std::endl;
+using std::string;
 
+namespace lyx {
+
+using support::atoi;
+using support::token;
+
+namespace frontend {
 
 /// Load font close to this size
 string const FontInfo::getFontname(int size)
@@ -162,3 +169,6 @@ void FontInfo::init()
        scalable = false;
        scaleindex = -1;
 }
+
+} // namespace frontend
+} // namespace lyx