From cec97e2a84f1512c1a19d467c427d7f7a53079a4 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Mon, 5 Sep 2016 08:59:36 +1000 Subject: [PATCH] Remove LocaleGuards from ExportVideoDialog class All float <=> string conversion is now done using PBD::to_string/string_to() via XMLNode::get/set_property() --- gtk2_ardour/export_video_dialog.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk2_ardour/export_video_dialog.cc b/gtk2_ardour/export_video_dialog.cc index 8be66e595a..3dd20bb6b2 100644 --- a/gtk2_ardour/export_video_dialog.cc +++ b/gtk2_ardour/export_video_dialog.cc @@ -366,8 +366,6 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range) float tcfps = _session->timecode_frames_per_second(); - LocaleGuard lg; - XMLNode* node = _session->extra_xml (X_("Videotimeline")); bool filenameset = false; if (node) { @@ -503,7 +501,6 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range) XMLNode& ExportVideoDialog::get_state () { - LocaleGuard lg; XMLNode* node = new XMLNode (X_("Videoexport")); node->set_property (X_("ChangeGeometry"), scale_checkbox.get_active()); node->set_property (X_("KeepAspect"), scale_aspect.get_active());