mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
Remove LocaleGuards from LadspaPlugin::set/add_state
String <-> type conversion is being performed by the pbd/string_convert.h API via PBD::XMLNode so LocaleGuards are not necessary.
This commit is contained in:
parent
a65c3ef28f
commit
8b10ed2478
1 changed files with 0 additions and 2 deletions
|
|
@ -348,7 +348,6 @@ void
|
||||||
LadspaPlugin::add_state (XMLNode* root) const
|
LadspaPlugin::add_state (XMLNode* root) const
|
||||||
{
|
{
|
||||||
XMLNode *child;
|
XMLNode *child;
|
||||||
LocaleGuard lg;
|
|
||||||
|
|
||||||
for (uint32_t i = 0; i < parameter_count(); ++i){
|
for (uint32_t i = 0; i < parameter_count(); ++i){
|
||||||
|
|
||||||
|
|
@ -375,7 +374,6 @@ LadspaPlugin::set_state (const XMLNode& node, int version)
|
||||||
XMLNodeConstIterator iter;
|
XMLNodeConstIterator iter;
|
||||||
XMLNode *child;
|
XMLNode *child;
|
||||||
#endif
|
#endif
|
||||||
LocaleGuard lg;
|
|
||||||
|
|
||||||
if (node.name() != state_node_name()) {
|
if (node.name() != state_node_name()) {
|
||||||
error << _("Bad node sent to LadspaPlugin::set_state") << endmsg;
|
error << _("Bad node sent to LadspaPlugin::set_state") << endmsg;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue