diff options
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDFJob_argv.cc | 10 | ||||
-rw-r--r-- | libqpdf/QPDFJob_config.cc | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/libqpdf/QPDFJob_argv.cc b/libqpdf/QPDFJob_argv.cc index f4c15e31..36a2a2a6 100644 --- a/libqpdf/QPDFJob_argv.cc +++ b/libqpdf/QPDFJob_argv.cc @@ -365,7 +365,7 @@ void ArgParser::argEndPages() { argPagesPositional(nullptr); - c_pages->end(); + c_pages->endPages(); c_pages = nullptr; } @@ -400,7 +400,7 @@ ArgParser::argCopyAttachmentsFrom() void ArgParser::argEndEncryption() { - c_enc->end(); + c_enc->endEncrypt(); c_enc = nullptr; } @@ -431,7 +431,7 @@ ArgParser::argUOPositional(char* arg) void ArgParser::argEndUnderlayOverlay() { - c_uo->end(); + c_uo->endUnderlayOverlay(); c_uo = nullptr; } @@ -444,7 +444,7 @@ ArgParser::argAttPositional(char* arg) void ArgParser::argEndAttachment() { - c_att->end(); + c_att->endAddAttachment(); c_att = nullptr; } @@ -457,7 +457,7 @@ ArgParser::argCopyAttPositional(char* arg) void ArgParser::argEndCopyAttachment() { - c_copy_att->end(); + c_copy_att->endCopyAttachmentsFrom(); c_copy_att = nullptr; } 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; |