diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-04 22:52:58 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-06-22 10:48:38 +1000 |
commit | 1170bd9043dc7cd9bdd534c7b75b2f2175e3e3c8 (patch) | |
tree | 9cdbc4dfc880c94f2b752dbdac295e27f4f5308c /libs/canvas | |
parent | 5103663f13fcce6797aa04d8c752d90bb7d5fe74 (diff) |
Remove LocaleGuards from SVAModifier and HSV classes
float <=> string conversion now done using PBD::to_string/string_to so
LocaleGuards are no longer needed.
Diffstat (limited to 'libs/canvas')
-rw-r--r-- | libs/canvas/colors.cc | 3 |
1 files changed, 0 insertions, 3 deletions
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 <cfloat> #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) { |