aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFOutlineObjectHelper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDFOutlineObjectHelper.cc')
-rw-r--r--libqpdf/QPDFOutlineObjectHelper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFOutlineObjectHelper.cc b/libqpdf/QPDFOutlineObjectHelper.cc
index e8eb11d0..6cdd182e 100644
--- a/libqpdf/QPDFOutlineObjectHelper.cc
+++ b/libqpdf/QPDFOutlineObjectHelper.cc
@@ -100,7 +100,7 @@ QPDFOutlineObjectHelper::getCount()
int count = 0;
if (this->oh.hasKey("/Count"))
{
- count = this->oh.getKey("/Count").getIntValue();
+ count = this->oh.getKey("/Count").getIntValueAsInt();
}
return count;
}