aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/JSONHandler.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-28 15:05:06 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit7097f290190885bdcae00ed175be6ea2346e9de8 (patch)
treee3d5514db131bd786059c0baad69d1a197deeabf /libqpdf/JSONHandler.cc
parent0e909bab8e6eabb96b0bbe8063138d04d5a4ac7f (diff)
downloadqpdf-7097f290190885bdcae00ed175be6ea2346e9de8.tar.zst
More editorial changes from m-holger + spell check
Diffstat (limited to 'libqpdf/JSONHandler.cc')
-rw-r--r--libqpdf/JSONHandler.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libqpdf/JSONHandler.cc b/libqpdf/JSONHandler.cc
index 1d374e6a..28e97218 100644
--- a/libqpdf/JSONHandler.cc
+++ b/libqpdf/JSONHandler.cc
@@ -88,20 +88,20 @@ JSONHandler::handle(std::string const& path, JSON j)
}
bool handled = false;
bool bvalue = false;
- std::string svalue;
+ std::string s_value;
if (this->m->h.null_handler && j.isNull())
{
this->m->h.null_handler(path);
handled = true;
}
- if (this->m->h.string_handler && j.getString(svalue))
+ if (this->m->h.string_handler && j.getString(s_value))
{
- this->m->h.string_handler(path, svalue);
+ this->m->h.string_handler(path, s_value);
handled = true;
}
- if (this->m->h.number_handler && j.getNumber(svalue))
+ if (this->m->h.number_handler && j.getNumber(s_value))
{
- this->m->h.number_handler(path, svalue);
+ this->m->h.number_handler(path, s_value);
handled = true;
}
if (this->m->h.bool_handler && j.getBool(bvalue))