Remove LocaleGuards from ARDOUR::ExportFormatSpecification state methods
authorTim Mayberry <mojofunk@gmail.com>
Sun, 4 Sep 2016 11:26:11 +0000 (21:26 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Thu, 22 Jun 2017 00:48:38 +0000 (10:48 +1000)
All float <=> string conversions are performed by PBD::to_string/string_to via
XMLNode.

libs/ardour/export_format_specification.cc

index ea7b4ac4484cb68da127aba866d7a0bc56b43d84..c63db4382c0eeea99813539b5909a23cdc50f6ce 100644 (file)
@@ -251,7 +251,6 @@ ExportFormatSpecification::~ExportFormatSpecification ()
 XMLNode &
 ExportFormatSpecification::get_state ()
 {
-       LocaleGuard lg;
        XMLNode * node;
        XMLNode * root = new XMLNode ("ExportFormatSpecification");
 
@@ -321,7 +320,6 @@ ExportFormatSpecification::set_state (const XMLNode & root)
 {
        XMLNode const * child;
        string str;
-       LocaleGuard lg;
 
        root.get_property ("name", _name);