From 1170bd9043dc7cd9bdd534c7b75b2f2175e3e3c8 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sun, 4 Sep 2016 22:52:58 +1000 Subject: Remove LocaleGuards from SVAModifier and HSV classes float <=> string conversion now done using PBD::to_string/string_to so LocaleGuards are no longer needed. --- libs/canvas/colors.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/canvas') diff --git a/libs/canvas/colors.cc b/libs/canvas/colors.cc index f03baa52fd..a246aa3cf4 100644 --- a/libs/canvas/colors.cc +++ b/libs/canvas/colors.cc @@ -23,7 +23,6 @@ #include #include "pbd/failed_constructor.h" -#include "pbd/locale_guard.h" #include "pbd/string_convert.h" #include "canvas/colors.h" @@ -259,7 +258,6 @@ HSV::HSV (const std::string& str) string HSV::to_string () const { - PBD::LocaleGuard lg; stringstream ss; ss << PBD::to_string(h) << ' '; ss << PBD::to_string(s) << ' '; @@ -597,7 +595,6 @@ SVAModifier::from_string (string const & str) string SVAModifier::to_string () const { - PBD::LocaleGuard lg; stringstream ss; switch (type) { -- cgit v1.2.3