X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema.cc;h=1902f15f9f4f091433f3fc10e12c8f4b5a301381;hb=d1172ffb60ec687ae4ca186cbac0e2add0754789;hp=469cf2e6b2de20d56687e91ff42cf2d3c1f5a452;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;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"));