summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interop_subtitle_asset.cc')
-rw-r--r--src/interop_subtitle_asset.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc
index 51c41d18..2adaa5f4 100644
--- a/src/interop_subtitle_asset.cc
+++ b/src/interop_subtitle_asset.cc
@@ -96,7 +96,7 @@ InteropSubtitleAsset::InteropSubtitleAsset (boost::filesystem::path file)
for (auto i: _subtitles) {
auto si = dynamic_pointer_cast<SubtitleImage>(i);
if (si) {
- si->read_png_file (file.parent_path() / String::compose("%1.png", si->id()));
+ si->read_png_file (file.parent_path() / compose("%1.png", si->id()));
}
}
}
@@ -136,7 +136,7 @@ void
InteropSubtitleAsset::add_font (string load_id, dcp::ArrayData data)
{
_fonts.push_back (Font(load_id, make_uuid(), data));
- auto const uri = String::compose("font_%1.ttf", _load_font_nodes.size());
+ auto const uri = compose("font_%1.ttf", _load_font_nodes.size());
_load_font_nodes.push_back (shared_ptr<InteropLoadFontNode>(new InteropLoadFontNode(load_id, uri)));
}
@@ -210,7 +210,7 @@ InteropSubtitleAsset::write (boost::filesystem::path p) const
for (auto i: _subtitles) {
auto im = dynamic_pointer_cast<dcp::SubtitleImage> (i);
if (im) {
- im->write_png_file(p.parent_path() / String::compose("%1.png", im->id()));
+ im->write_png_file(p.parent_path() / compose("%1.png", im->id()));
}
}