Remove Cruft -- AutomationStyle never did anything.
[ardour.git] / libs / ardour / utils.cc
index 8b891077484e2ea1859ce40a40c39287d13cd916..18f9d247d8faec53a8c98e13b19559a0cd0faeb6 100644 (file)
@@ -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)
 {