summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2017-06-21 21:23:56 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-06-22 10:48:38 +1000
commit8b10ed2478925ee71b2383ff8a38b9503e2642eb (patch)
treea7764f20c0c622f5e2f34169cfc4ddc4687868ca /libs/ardour/ladspa_plugin.cc
parenta65c3ef28f9243067aab4d36bd75c91ea76f30a5 (diff)
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.
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index 1682db3273..3100b0891f 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -348,7 +348,6 @@ void
LadspaPlugin::add_state (XMLNode* root) const
{
XMLNode *child;
- LocaleGuard lg;
for (uint32_t i = 0; i < parameter_count(); ++i){
@@ -375,7 +374,6 @@ LadspaPlugin::set_state (const XMLNode& node, int version)
XMLNodeConstIterator iter;
XMLNode *child;
#endif
- LocaleGuard lg;
if (node.name() != state_node_name()) {
error << _("Bad node sent to LadspaPlugin::set_state") << endmsg;