diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-13 14:43:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 29fe2d3a4c347e15b987f9e61e56d22a21d4678f (patch) | |
| tree | 910b7afc8a109733edd76befc0d17e9be902fb1b /src/lib/text_subtitle_content.cc | |
| parent | 640a1ef73e575fe891a420dec392dace8b1a0255 (diff) | |
Remove unnecessary Film variable in ContentPart.
Diffstat (limited to 'src/lib/text_subtitle_content.cc')
| -rw-r--r-- | src/lib/text_subtitle_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/text_subtitle_content.cc b/src/lib/text_subtitle_content.cc index 4fdd690c3..bb5ade0c4 100644 --- a/src/lib/text_subtitle_content.cc +++ b/src/lib/text_subtitle_content.cc @@ -38,14 +38,14 @@ std::string const TextSubtitleContent::font_id = "font"; TextSubtitleContent::TextSubtitleContent (shared_ptr<const Film> film, boost::filesystem::path path) : Content (film, path) { - subtitle.reset (new SubtitleContent (this, film)); + subtitle.reset (new SubtitleContent (this)); } TextSubtitleContent::TextSubtitleContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) : Content (film, node) , _length (node->number_child<ContentTime::Type> ("Length")) { - subtitle = SubtitleContent::from_xml (this, film, node, version); + subtitle = SubtitleContent::from_xml (this, node, version); } void |
