summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle_asset.cc')
-rw-r--r--src/subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc
index c7051eae..ba91cf90 100644
--- a/src/subtitle_asset.cc
+++ b/src/subtitle_asset.cc
@@ -413,7 +413,7 @@ SubtitleAsset::write_xml (ostream& s) const
<< " <Language>" << _language << "</Language>\n";
if (_load_font_nodes.size() > 1) {
- throw MiscError ("multiple LoadFont nodes not supported");
+ boost::throw_exception (MiscError ("multiple LoadFont nodes not supported"));
}
if (!_load_font_nodes.empty ()) {