diff options
Diffstat (limited to 'examples/pdf-mod-info.cc')
-rw-r--r-- | examples/pdf-mod-info.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/pdf-mod-info.cc b/examples/pdf-mod-info.cc index 0585e9fd..9ffd4ede 100644 --- a/examples/pdf-mod-info.cc +++ b/examples/pdf-mod-info.cc @@ -46,8 +46,7 @@ void dumpInfoDict(QPDF& pdf, { QPDFObjectHandle elt = info.getKey(*it); std::string val; - if (false) {} - else if (elt.isString()) + if (elt.isString()) { val = elt.getStringValue(); } |