]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetFormulaMacro.C
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetFormulaMacro.C
index f0f76de90dc7beb72568ebbc3246c75bee647114..39bb488042f0b95888eb8465ea45d9396177e743 100644 (file)
 
 #include <sstream>
 
-using lyx::odocstream;
-using lyx::support::bformat;
+
+namespace lyx {
+
+using odocstream;
+using support::bformat;
 
 using std::string;
 using std::auto_ptr;
@@ -118,7 +121,7 @@ void InsetFormulaMacro::read(std::istream & is)
 
 string InsetFormulaMacro::prefix() const
 {
-       return lyx::to_utf8(bformat(_(" Macro: %1$s: "), lyx::from_utf8(name_)));
+       return to_utf8(bformat(_(" Macro: %1$s: "), lyx::from_utf8(name_)));
 }
 
 
@@ -175,3 +178,6 @@ MathAtom & InsetFormulaMacro::tmpl() const
 {
        return MathMacroTable::provide(name_);
 }
+
+
+} // namespace lyx