From 3053ecfbb9d50a07593ebd4cebdb0de5ca0ca88e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 Aug 2012 15:43:12 +0100 Subject: Remove unnecessary stuff. --- src/subtitle_asset.cc | 4 ++-- src/subtitle_asset.h | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc index 5238e56a..8f0c48ab 100644 --- a/src/subtitle_asset.cc +++ b/src/subtitle_asset.cc @@ -34,14 +34,14 @@ SubtitleAsset::SubtitleAsset (string directory, string xml) ignore_node ("LoadFont"); - _font_nodes = sub_nodes ("Font"); + list > font_nodes = sub_nodes ("Font"); list > load_font_nodes = sub_nodes ("LoadFont"); /* Now make Subtitle objects to represent the raw XML nodes in a sane way. */ - for (list >::iterator i = _font_nodes.begin(); i != _font_nodes.end(); ++i) { + for (list >::iterator i = font_nodes.begin(); i != font_nodes.end(); ++i) { for (list >::iterator j = (*i)->subtitle_nodes.begin(); j != (*i)->subtitle_nodes.end(); ++j) { for (list >::iterator k = (*j)->text_nodes.begin(); k != (*j)->text_nodes.end(); ++k) { _subtitles.push_back ( diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h index 71ae1401..038ff1fa 100644 --- a/src/subtitle_asset.h +++ b/src/subtitle_asset.h @@ -127,10 +127,6 @@ public: std::list > subtitles_at (Time t) const; - std::list > font_nodes () const { - return _font_nodes; - } - private: std::string font_id_to_name (std::string id, std::list > const & load_font_nodes) const; @@ -138,7 +134,6 @@ private: std::string _movie_title; int64_t _reel_number; std::string _language; - std::list > _font_nodes; std::list > _subtitles; }; -- cgit v1.2.3