Arch build fix; whitespace.
authorCarl Hetherington <cth@carlh.net>
Tue, 7 Jul 2015 15:54:07 +0000 (16:54 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 7 Jul 2015 15:54:07 +0000 (16:54 +0100)
src/dcp_reader.cc

index 4dcbe48257b5210e03d5a82394236688eb46f034..9727ef8cc9548589b759bb7a95e2695c83dc9f6e 100644 (file)
@@ -26,6 +26,7 @@
 #include "dcp/subtitle.h"
 #include <libcxml/cxml.h>
 #include <libxml++/libxml++.h>
+#include <iostream>
 
 using std::list;
 using std::cout;
@@ -75,14 +76,14 @@ DCPReader::parse_node (xmlpp::Node const * node, ParseState& parse_state, option
                }
        }
 }
-       
+
 void
 DCPReader::maybe_add_subtitle (string text, ParseState const & parse_state)
 {
        if (empty_or_white_space (text)) {
                return;
        }
-       
+
        if (parse_state.text_nodes.empty() || parse_state.subtitle_nodes.empty ()) {
                return;
        }
@@ -92,7 +93,7 @@ DCPReader::maybe_add_subtitle (string text, ParseState const & parse_state)
        dcp::Subtitle effective_subtitle (*parse_state.subtitle_nodes.back ());
 
        RawSubtitle rs;
-       
+
        rs.text = text;
        rs.font = effective_font.id;
        rs.font_size.set_proportional (float (effective_font.size) / (72 * 11));