Remove LocaleGuard from PBD::Controllable state methods
These are no longer necessary as float <=> string conversion is handled by locale independent PBD::to_string/string_to via XMLNode::get/set_property
This commit is contained in:
parent
3b718c60de
commit
6ab970efa3
@ -21,7 +21,6 @@
|
|||||||
#include "pbd/enumwriter.h"
|
#include "pbd/enumwriter.h"
|
||||||
#include "pbd/xml++.h"
|
#include "pbd/xml++.h"
|
||||||
#include "pbd/error.h"
|
#include "pbd/error.h"
|
||||||
#include "pbd/locale_guard.h"
|
|
||||||
#include "pbd/types_convert.h"
|
#include "pbd/types_convert.h"
|
||||||
#include "pbd/string_convert.h"
|
#include "pbd/string_convert.h"
|
||||||
|
|
||||||
@ -109,7 +108,6 @@ XMLNode&
|
|||||||
Controllable::get_state ()
|
Controllable::get_state ()
|
||||||
{
|
{
|
||||||
XMLNode* node = new XMLNode (xml_node_name);
|
XMLNode* node = new XMLNode (xml_node_name);
|
||||||
LocaleGuard lg;
|
|
||||||
|
|
||||||
/* Waves' "Pressure3" has a parameter called "µ-iness"
|
/* Waves' "Pressure3" has a parameter called "µ-iness"
|
||||||
* which causes a parser error : Input is not proper UTF-8, indicate encoding !
|
* which causes a parser error : Input is not proper UTF-8, indicate encoding !
|
||||||
@ -135,8 +133,6 @@ Controllable::get_state ()
|
|||||||
int
|
int
|
||||||
Controllable::set_state (const XMLNode& node, int /*version*/)
|
Controllable::set_state (const XMLNode& node, int /*version*/)
|
||||||
{
|
{
|
||||||
LocaleGuard lg;
|
|
||||||
|
|
||||||
Stateful::save_extra_xml (node);
|
Stateful::save_extra_xml (node);
|
||||||
|
|
||||||
set_id (node);
|
set_id (node);
|
||||||
|
Loading…
Reference in New Issue
Block a user