From 2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 15 Apr 2022 19:54:34 -0400 Subject: Make ABI-breaking changes that don't modify API at all * Merge overloaded functions by adding default values * Remove non-const methods that are identical to const methods --- libqpdf/QPDFObjectHandle.cc | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'libqpdf/QPDFObjectHandle.cc') diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index d6fe8b9e..59b4942d 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -1094,12 +1094,6 @@ QPDFObjectHandle::makeResourcesIndirect(QPDF& owning_qpdf) } } -void -QPDFObjectHandle::mergeResources(QPDFObjectHandle other) -{ - mergeResources(other, nullptr); -} - void QPDFObjectHandle::mergeResources( QPDFObjectHandle other, @@ -1224,13 +1218,6 @@ QPDFObjectHandle::getResourceNames() return result; } -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* namesp) @@ -2539,12 +2526,6 @@ QPDFObjectHandle::newReal(std::string const& value) return QPDFObjectHandle(new QPDF_Real(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) @@ -2915,12 +2896,6 @@ QPDFObjectHandle::copyStream() return result; } -void -QPDFObjectHandle::makeDirect() -{ - makeDirect(false); -} - void QPDFObjectHandle::makeDirect(bool allow_streams) { -- cgit v1.2.3-54-g00ecf