mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-07 14:18:24 +00:00
Make a few whitespace fixes from last commit
Commit by ejb@ql.org using m-holger as author so git annotate gives proper credit for changes.
This commit is contained in:
parent
8593b9fdf7
commit
1b1b471ca9
@ -373,13 +373,13 @@ class QPDFObjectHandle
|
||||
// subtype, if any.
|
||||
QPDF_DLL
|
||||
bool isDictionaryOfType(std::string const& type,
|
||||
std::string const& subtype = "");
|
||||
std::string const& subtype = "");
|
||||
|
||||
// True if the object is a stream of the specified type and
|
||||
// subtype, if any.
|
||||
QPDF_DLL
|
||||
bool isStreamOfType(std::string const& type,
|
||||
std::string const& subtype = "");
|
||||
std::string const& subtype = "");
|
||||
|
||||
// Public factory methods
|
||||
|
||||
|
@ -1159,7 +1159,7 @@ QPDF_BOOL qpdf_oh_is_name_and_equals(
|
||||
}
|
||||
|
||||
QPDF_BOOL qpdf_oh_is_dictionary_of_type(
|
||||
qpdf_data qpdf, qpdf_oh oh, char const* type, char const* subtype)
|
||||
qpdf_data qpdf, qpdf_oh oh, char const* type, char const* subtype)
|
||||
{
|
||||
auto stype = (subtype == nullptr) ? "" : subtype;
|
||||
return do_with_oh<QPDF_BOOL>(
|
||||
|
@ -703,7 +703,7 @@ static void test25(char const* infile,
|
||||
assert(qpdf_oh_is_or_has_name(
|
||||
qpdf, qpdf_oh_get_array_item(qpdf, p_five, 0), "/Five"));
|
||||
assert(qpdf_oh_is_name_and_equals(
|
||||
qpdf, qpdf_oh_get_array_item(qpdf, p_five, 0), "/Five"));
|
||||
qpdf, qpdf_oh_get_array_item(qpdf, p_five, 0), "/Five"));
|
||||
assert(qpdf_oh_is_null(qpdf, p_null));
|
||||
assert(qpdf_oh_get_type_code(qpdf, p_null) == ot_null);
|
||||
assert(strcmp(qpdf_oh_get_type_name(qpdf, p_null), "null") == 0);
|
||||
|
@ -3129,7 +3129,6 @@ static void test_82(QPDF& pdf, char const* arg2)
|
||||
assert(! pdf.getObjectByID(2,0).isStreamOfType("/Pages"));
|
||||
}
|
||||
|
||||
|
||||
void runtest(int n, char const* filename1, char const* arg2)
|
||||
{
|
||||
// Most tests here are crafted to work on specific files. Look at
|
||||
|
Loading…
x
Reference in New Issue
Block a user