diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-26 23:02:30 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | 03f3369f35b2303166e8d36547c8a0aba6626c1b (patch) | |
tree | 276920c5224c984f114036c816e7f86d84c09a4e /libqpdf/QPDFJob_config.cc | |
parent | 9013b7ca919c13b03488056dff55ffbf5215f008 (diff) | |
download | qpdf-03f3369f35b2303166e8d36547c8a0aba6626c1b.tar.zst |
QPDFJob: use manually named end functions for Config classes
Use named functions rather than just end() for clarity.
Diffstat (limited to 'libqpdf/QPDFJob_config.cc')
-rw-r--r-- | libqpdf/QPDFJob_config.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libqpdf/QPDFJob_config.cc b/libqpdf/QPDFJob_config.cc index 621d788a..a13dee4b 100644 --- a/libqpdf/QPDFJob_config.cc +++ b/libqpdf/QPDFJob_config.cc @@ -781,7 +781,7 @@ QPDFJob::CopyAttConfig::password(char const* parameter) } QPDFJob::Config& -QPDFJob::CopyAttConfig::end() +QPDFJob::CopyAttConfig::endCopyAttachmentsFrom() { if (this->caf.path.empty()) { @@ -871,7 +871,7 @@ QPDFJob::AttConfig::replace() } QPDFJob::Config& -QPDFJob::AttConfig::end() +QPDFJob::AttConfig::endAddAttachment() { static std::string now = QUtil::qpdf_time_to_pdf_time( QUtil::get_current_qpdf_time()); @@ -921,7 +921,7 @@ QPDFJob::Config::pages() } QPDFJob::Config& -QPDFJob::PagesConfig::end() +QPDFJob::PagesConfig::endPages() { if (this->config.o.m->page_specs.empty()) { @@ -960,7 +960,7 @@ QPDFJob::UOConfig::UOConfig(Config& c) : } QPDFJob::Config& -QPDFJob::UOConfig::end() +QPDFJob::UOConfig::endUnderlayOverlay() { if (config.o.m->under_overlay->filename.empty()) { @@ -1042,7 +1042,7 @@ QPDFJob::EncConfig::EncConfig(Config& c) : } QPDFJob::Config& -QPDFJob::EncConfig::end() +QPDFJob::EncConfig::endEncrypt() { config.o.m->encrypt = true; config.o.m->decrypt = false; |