aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/QPDFMatrix.cc12
-rw-r--r--libqpdf/QPDFObjectHandle.cc25
-rw-r--r--libqpdf/QPDFPageObjectHelper.cc12
-rw-r--r--libqpdf/QPDF_optimization.cc6
-rw-r--r--libqpdf/QUtil.cc6
5 files changed, 0 insertions, 61 deletions
diff --git a/libqpdf/QPDFMatrix.cc b/libqpdf/QPDFMatrix.cc
index 75049130..9fb24888 100644
--- a/libqpdf/QPDFMatrix.cc
+++ b/libqpdf/QPDFMatrix.cc
@@ -110,12 +110,6 @@ QPDFMatrix::rotatex90(int angle)
}
void
-QPDFMatrix::transform(double x, double y, double& xp, double& yp)
-{
- const_cast<QPDFMatrix const*>(this)->transform(x, y, xp, yp);
-}
-
-void
QPDFMatrix::transform(double x, double y, double& xp, double& yp) const
{
xp = (this->a * x) + (this->c * y) + this->e;
@@ -123,12 +117,6 @@ QPDFMatrix::transform(double x, double y, double& xp, double& yp) const
}
QPDFObjectHandle::Rectangle
-QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle r)
-{
- return const_cast<QPDFMatrix const*>(this)->transformRectangle(r);
-}
-
-QPDFObjectHandle::Rectangle
QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle r) const
{
std::vector<double> tx(4);
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc
index d6fe8b9e..59b4942d 100644
--- a/libqpdf/QPDFObjectHandle.cc
+++ b/libqpdf/QPDFObjectHandle.cc
@@ -1095,12 +1095,6 @@ QPDFObjectHandle::makeResourcesIndirect(QPDF& owning_qpdf)
}
void
-QPDFObjectHandle::mergeResources(QPDFObjectHandle other)
-{
- mergeResources(other, nullptr);
-}
-
-void
QPDFObjectHandle::mergeResources(
QPDFObjectHandle other,
std::map<std::string, std::map<std::string, std::string>>* conflicts)
@@ -1226,13 +1220,6 @@ QPDFObjectHandle::getResourceNames()
std::string
QPDFObjectHandle::getUniqueResourceName(
- std::string const& prefix, int& min_suffix)
-{
- return getUniqueResourceName(prefix, min_suffix, nullptr);
-}
-
-std::string
-QPDFObjectHandle::getUniqueResourceName(
std::string const& prefix, int& min_suffix, std::set<std::string>* namesp)
{
@@ -2540,12 +2527,6 @@ QPDFObjectHandle::newReal(std::string const& value)
}
QPDFObjectHandle
-QPDFObjectHandle::newReal(double value, int decimal_places)
-{
- return QPDFObjectHandle(new QPDF_Real(value, decimal_places, true));
-}
-
-QPDFObjectHandle
QPDFObjectHandle::newReal(
double value, int decimal_places, bool trim_trailing_zeroes)
{
@@ -2916,12 +2897,6 @@ QPDFObjectHandle::copyStream()
}
void
-QPDFObjectHandle::makeDirect()
-{
- makeDirect(false);
-}
-
-void
QPDFObjectHandle::makeDirect(bool allow_streams)
{
std::set<QPDFObjGen> visited;
diff --git a/libqpdf/QPDFPageObjectHelper.cc b/libqpdf/QPDFPageObjectHelper.cc
index 4706cb27..5ad67dea 100644
--- a/libqpdf/QPDFPageObjectHelper.cc
+++ b/libqpdf/QPDFPageObjectHelper.cc
@@ -411,12 +411,6 @@ QPDFPageObjectHelper::getFormXObjects()
}
void
-QPDFPageObjectHelper::externalizeInlineImages(size_t min_size)
-{
- externalizeInlineImages(min_size, false);
-}
-
-void
QPDFPageObjectHelper::externalizeInlineImages(size_t min_size, bool shallow)
{
if (shallow) {
@@ -930,12 +924,6 @@ QPDFPageObjectHelper::placeFormXObject(
}
void
-QPDFPageObjectHelper::flattenRotation()
-{
- flattenRotation(nullptr);
-}
-
-void
QPDFPageObjectHelper::flattenRotation(QPDFAcroFormDocumentHelper* afdh)
{
QPDF* qpdf = this->oh.getOwningQPDF();
diff --git a/libqpdf/QPDF_optimization.cc b/libqpdf/QPDF_optimization.cc
index 3d262b03..c76e255d 100644
--- a/libqpdf/QPDF_optimization.cc
+++ b/libqpdf/QPDF_optimization.cc
@@ -53,12 +53,6 @@ QPDF::ObjUser::operator<(ObjUser const& rhs) const
}
void
-QPDF::optimize(std::map<int, int> const& object_stream_data, bool allow_changes)
-{
- optimize(object_stream_data, allow_changes, nullptr);
-}
-
-void
QPDF::optimize(
std::map<int, int> const& object_stream_data,
bool allow_changes,
diff --git a/libqpdf/QUtil.cc b/libqpdf/QUtil.cc
index 711065df..6b9acb6d 100644
--- a/libqpdf/QUtil.cc
+++ b/libqpdf/QUtil.cc
@@ -327,12 +327,6 @@ QUtil::uint_to_string_base(unsigned long long num, int base, int length)
}
std::string
-QUtil::double_to_string(double num, int decimal_places)
-{
- return double_to_string(num, decimal_places, true);
-}
-
-std::string
QUtil::double_to_string(
double num, int decimal_places, bool trim_trailing_zeroes)
{