summaryrefslogtreecommitdiff
path: root/src/types.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-14 20:16:44 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-14 20:16:44 +0200
commit4d6c8aaf0167cde3bb63e9014604243bdc47b1a1 (patch)
tree13aae09fb07326febeb401930718692b45df2cff /src/types.cc
parent314060f975dc9806f49ec8bbb1c11041a2ac111f (diff)
s/DCPReadError/ReadError/g
Diffstat (limited to 'src/types.cc')
-rw-r--r--src/types.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/types.cc b/src/types.cc
index 29e2c387..b329396d 100644
--- a/src/types.cc
+++ b/src/types.cc
@@ -208,7 +208,7 @@ dcp::string_to_effect (string s)
return SHADOW;
}
- boost::throw_exception (DCPReadError ("unknown subtitle effect type"));
+ boost::throw_exception (ReadError ("unknown subtitle effect type"));
}
string
@@ -237,7 +237,7 @@ dcp::string_to_halign (string s)
return HALIGN_RIGHT;
}
- boost::throw_exception (DCPReadError ("unknown subtitle halign type"));
+ boost::throw_exception (ReadError ("unknown subtitle halign type"));
}
string
@@ -266,7 +266,7 @@ dcp::string_to_valign (string s)
return VALIGN_BOTTOM;
}
- boost::throw_exception (DCPReadError ("unknown subtitle valign type"));
+ boost::throw_exception (ReadError ("unknown subtitle valign type"));
}
string
@@ -299,7 +299,7 @@ dcp::string_to_direction (string s)
return DIRECTION_BTT;
}
- boost::throw_exception (DCPReadError ("unknown subtitle direction type"));
+ boost::throw_exception (ReadError ("unknown subtitle direction type"));
}
/** Convert a content kind to a string which can be used in a