aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Real.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-09-05 15:15:14 +0200
committerJay Berkenbilt <ejb@ql.org>2022-09-06 00:52:59 +0200
commit6c61be00e8366d467e7e4c82a6d91a4d074a1181 (patch)
tree610ccf8c637cdd778e734c15d1e94bcd68e9f30f /libqpdf/QPDF_Real.cc
parent5d65e73ca719fdb921f627e3789920ea60c66f01 (diff)
downloadqpdf-6c61be00e8366d467e7e4c82a6d91a4d074a1181.tar.zst
Rename QPDFObject -> QPDFValueProxy
This is in preparation for restoring a QPDFObject.hh to ease the transition on qpdf_object_type_e. This commit was created by * Renaming QPDFObject.cc and QPDFObject.hh * Replacing QPDFObject\b with QPDFValueProxy (where \b is word boundary) * Running format-code * Manually resorting files in libqpdf/CMakeLists.txt * Manually refilling the comment in QPDF.hh near class Resolver
Diffstat (limited to 'libqpdf/QPDF_Real.cc')
-rw-r--r--libqpdf/QPDF_Real.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/QPDF_Real.cc b/libqpdf/QPDF_Real.cc
index 85c9ceeb..32c03b63 100644
--- a/libqpdf/QPDF_Real.cc
+++ b/libqpdf/QPDF_Real.cc
@@ -15,20 +15,20 @@ QPDF_Real::QPDF_Real(
{
}
-std::shared_ptr<QPDFObject>
+std::shared_ptr<QPDFValueProxy>
QPDF_Real::create(std::string const& val)
{
return do_create(new QPDF_Real(val));
}
-std::shared_ptr<QPDFObject>
+std::shared_ptr<QPDFValueProxy>
QPDF_Real::create(double value, int decimal_places, bool trim_trailing_zeroes)
{
return do_create(
new QPDF_Real(value, decimal_places, trim_trailing_zeroes));
}
-std::shared_ptr<QPDFObject>
+std::shared_ptr<QPDFValueProxy>
QPDF_Real::shallowCopy()
{
return create(val);