Remove LocaleGuard from ARDOUR::AudioRegion state methods

float <=> string conversions are performed using PBD::to_string/string_to via
XMLNode
This commit is contained in:
Tim Mayberry
2016-09-04 21:08:18 +10:00
parent 11b4da078a
commit ffe0bbe0ab

View File

@@ -770,7 +770,6 @@ XMLNode&
AudioRegion::get_basic_state ()
{
XMLNode& node (Region::state ());
LocaleGuard lg;
node.set_property ("channels", (uint32_t)_sources.size());
@@ -782,7 +781,6 @@ AudioRegion::state ()
{
XMLNode& node (get_basic_state());
XMLNode *child;
LocaleGuard lg;
child = node.add_child ("Envelope");
@@ -838,7 +836,6 @@ int
AudioRegion::_set_state (const XMLNode& node, int version, PropertyChange& what_changed, bool send)
{
const XMLNodeList& nlist = node.children();
LocaleGuard lg;
boost::shared_ptr<Playlist> the_playlist (_playlist.lock());
suspend_property_changes ();