aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-09-07 20:16:27 +0200
committerJay Berkenbilt <ejb@ql.org>2022-09-08 16:19:38 +0200
commit9dcd25a06eae4787332cb808a100b338887c9426 (patch)
treedb29082d183aa13f22ec4ec14f25e18247a2d0c0
parent4422588d7d51e226e6aeecfa9e53382aeb54d7c4 (diff)
downloadqpdf-9dcd25a06eae4787332cb808a100b338887c9426.tar.zst
Remove superfluous call to resetObjGen
-rw-r--r--libqpdf/QPDF.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index 921e943b..9764cf70 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -2134,7 +2134,6 @@ QPDF::updateCache(
object->setObjGen(this, og);
if (isCached(og)) {
auto& cache = m->obj_cache[og];
- cache.object->resetObjGen();
cache.object->assign(object);
cache.end_before_space = end_before_space;
cache.end_after_space = end_after_space;