aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFArgParser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDFArgParser.cc')
-rw-r--r--libqpdf/QPDFArgParser.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/libqpdf/QPDFArgParser.cc b/libqpdf/QPDFArgParser.cc
index 33d50a10..c423c7d3 100644
--- a/libqpdf/QPDFArgParser.cc
+++ b/libqpdf/QPDFArgParser.cc
@@ -177,29 +177,6 @@ QPDFArgParser::addInvalidChoiceHandler(
}
void
-QPDFArgParser::copyFromOtherTable(std::string const& arg,
- std::string const& other_table)
-{
- if (! this->m->option_tables.count(other_table))
- {
- QTC::TC("libtests", "QPDFArgParser copy from unknown");
- throw std::logic_error(
- "QPDFArgParser: attempt to copy from unknown table " +
- other_table);
- }
- auto& ot = this->m->option_tables[other_table];
- if (! ot.count(arg))
- {
- QTC::TC("libtests", "QPDFArgParser copy unknown");
- throw std::logic_error(
- "QPDFArgParser: attempt to copy unknown argument " + arg +
- " from table " + other_table);
- }
- OptionEntry& oe = registerArg(arg);
- oe = ot[arg];
-}
-
-void
QPDFArgParser::addFinalCheck(bare_arg_handler_t handler)
{
this->m->final_check_handler = handler;