add locale guards for export format
[ardour.git] / libs / ardour / export_format_specification.cc
index 6183d0d2bf6fcffcaf22d0f2a3d6c6d66d943eac..aef49cc28f8c750ef3bd7bbdfe0e2a6821a008ee 100644 (file)
@@ -272,6 +272,7 @@ ExportFormatSpecification::~ExportFormatSpecification ()
 XMLNode &
 ExportFormatSpecification::get_state ()
 {
+       LocaleGuard lg;
        XMLNode * node;
        XMLNode * root = new XMLNode ("ExportFormatSpecification");
 
@@ -340,6 +341,7 @@ ExportFormatSpecification::set_state (const XMLNode & root)
        XMLProperty const * prop;
        XMLNode const * child;
        string value;
+       LocaleGuard lg;
 
        if ((prop = root.property ("name"))) {
                _name = prop->value();