summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc33
1 files changed, 0 insertions, 33 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index 8b89107748..18f9d247d8 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -590,39 +590,6 @@ ARDOUR::auto_state_to_string (AutoState as)
return "";
}
-AutoStyle
-ARDOUR::string_to_auto_style (std::string str)
-{
- if (str == X_("Absolute")) {
- return Absolute;
- } else if (str == X_("Trim")) {
- return Trim;
- }
-
- fatal << string_compose (_("programming error: %1 %2"), "illegal AutoStyle string: ", str) << endmsg;
- abort(); /*NOTREACHED*/
- return Trim;
-}
-
-string
-ARDOUR::auto_style_to_string (AutoStyle as)
-{
- /* to be used only for XML serialization, no i18n done */
-
- switch (as) {
- case Absolute:
- return X_("Absolute");
- break;
- case Trim:
- return X_("Trim");
- break;
- }
-
- fatal << string_compose (_("programming error: %1 %2"), "illegal AutoStyle type: ", as) << endmsg;
- abort(); /*NOTREACHED*/
- return "";
-}
-
std::string
bool_as_string (bool yn)
{