X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsubtitle_asset.cc;h=15ddb2a8fd57f6711986b50a0978c4dd6cde3615;hb=ea1e0300d6b0d4e3dbdcaaeb20affb5c3ae49214;hp=8e15ba1acffb1681a89a913af105b245e7fcec85;hpb=af9b2212f0d8f8c1f53aaf29e520b812dfdc321c;p=libdcp.git diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc index 8e15ba1a..15ddb2a8 100644 --- a/src/subtitle_asset.cc +++ b/src/subtitle_asset.cc @@ -22,8 +22,13 @@ #include "subtitle_asset.h" #include "util.h" -using namespace std; -using namespace boost; +using std::string; +using std::list; +using std::ostream; +using std::ofstream; +using std::stringstream; +using boost::shared_ptr; +using boost::lexical_cast; using namespace libdcp; SubtitleAsset::SubtitleAsset (string directory, string xml_file) @@ -396,7 +401,7 @@ SubtitleAsset::write_xml () /* XXX: script, underlined, weight not supported */ bool first = true; - bool italic; + bool italic = false; Color color; int size = 0; Effect effect = NONE;