Don't use API definition as namespace & fix whitespace
authorRobin Gareus <robin@gareus.org>
Wed, 30 Aug 2017 15:53:08 +0000 (17:53 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 30 Aug 2017 15:53:08 +0000 (17:53 +0200)
libs/ardour/template_utils.cc

index 5c6fd9c833e2fe4614b2138dad73cf7cd5eee470..ceeefb0e513ef8b39afde3d762686afab1f66630 100644 (file)
@@ -118,7 +118,7 @@ find_session_templates (vector<TemplateInfo>& template_names, bool read_xml)
                                        pv->get_property (X_("created-with"), created_with);
                                }
                                rti.created_with = created_with;
-                       } catch ( LIBPBD_API::XMLException &e) {}
+                       } catch (XMLException &e) {}
 
                        rti.description = _("No Description");
                        try {
@@ -126,7 +126,7 @@ find_session_templates (vector<TemplateInfo>& template_names, bool read_xml)
                                if (desc != 0) {
                                        rti.description = desc->attribute_value();
                                }
-                       } catch ( LIBPBD_API::XMLException &e) {}
+                       } catch (XMLException &e) {}
                }
 
                template_names.push_back (rti);
@@ -166,7 +166,7 @@ find_route_templates (vector<TemplateInfo>& template_names)
                                pv->get_property (X_("created-with"), created_with);
                        }
                        rti.created_with = created_with;
-               } catch ( LIBPBD_API::XMLException &e) {}
+               } catch (XMLException &e) {}
 
                rti.description = _("No Description");
                try {
@@ -174,7 +174,7 @@ find_route_templates (vector<TemplateInfo>& template_names)
                        if (desc != 0) {
                                rti.description = desc->attribute_value();
                        }
-               } catch ( LIBPBD_API::XMLException &e) {}
+               } catch (XMLException &e) {}
 
                rti.name = IO::name_from_state (*root->children().front());
                rti.path = fullpath;