X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema.cc;h=1902f15f9f4f091433f3fc10e12c8f4b5a301381;hb=64a5419b16d676d48f36b4699cfe83a91ec78549;hp=469cf2e6b2de20d56687e91ff42cf2d3c1f5a452;hpb=a8a0dfd1b21de6c0facf965ab119833ff6f790bf;p=dcpomatic.git diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc index 469cf2e6b..1902f15f9 100644 --- a/src/lib/cinema.cc +++ b/src/lib/cinema.cc @@ -30,6 +30,8 @@ using std::list; using std::string; using boost::shared_ptr; +using dcp::raw_convert; +using dcpomatic::Screen; Cinema::Cinema (cxml::ConstNodePtr node) : name (node->string_child ("Name")) @@ -71,8 +73,8 @@ Cinema::as_xml (xmlpp::Element* parent) const parent->add_child("Notes")->add_child_text (notes); - parent->add_child("UTCOffsetHour")->add_child_text (dcp::raw_convert (_utc_offset_hour)); - parent->add_child("UTCOffsetMinute")->add_child_text (dcp::raw_convert (_utc_offset_minute)); + parent->add_child("UTCOffsetHour")->add_child_text (raw_convert (_utc_offset_hour)); + parent->add_child("UTCOffsetMinute")->add_child_text (raw_convert (_utc_offset_minute)); BOOST_FOREACH (shared_ptr i, _screens) { i->as_xml (parent->add_child ("Screen"));