summaryrefslogtreecommitdiff
path: root/src/lib/string_text_file_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-14 00:12:22 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:51:26 +0200
commit0b4bffff846efe967110477797218c170ffb3166 (patch)
treef3cb1bbf1e3c86905afe42b159284d2d2c299476 /src/lib/string_text_file_content.cc
parent11456e09fd0a18ff9bd4c8421514b707d5d0c2fe (diff)
Add option to use relative content paths (#2856).
Diffstat (limited to 'src/lib/string_text_file_content.cc')
-rw-r--r--src/lib/string_text_file_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/string_text_file_content.cc b/src/lib/string_text_file_content.cc
index c6639936c..6ae9fc627 100644
--- a/src/lib/string_text_file_content.cc
+++ b/src/lib/string_text_file_content.cc
@@ -122,10 +122,10 @@ StringTextFileContent::technical_summary () const
void
-StringTextFileContent::as_xml(xmlpp::Element* element, bool with_paths) const
+StringTextFileContent::as_xml(xmlpp::Element* element, bool with_paths, PathBehaviour path_behaviour, optional<boost::filesystem::path> film_directory) const
{
cxml::add_text_child(element, "Type", "TextSubtitle");
- Content::as_xml(element, with_paths);
+ Content::as_xml(element, with_paths, path_behaviour, film_directory);
if (only_text()) {
only_text()->as_xml(element);