Commit 1b1b471ca99abeb6d50d58d4297d68a87dd6f47a

Authored by m-holger
Committed by Jay Berkenbilt
1 parent 8593b9fd

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.
include/qpdf/QPDFObjectHandle.hh
... ... @@ -373,13 +373,13 @@ class QPDFObjectHandle
373 373 // subtype, if any.
374 374 QPDF_DLL
375 375 bool isDictionaryOfType(std::string const& type,
376   - std::string const& subtype = "");
  376 + std::string const& subtype = "");
377 377  
378 378 // True if the object is a stream of the specified type and
379 379 // subtype, if any.
380 380 QPDF_DLL
381 381 bool isStreamOfType(std::string const& type,
382   - std::string const& subtype = "");
  382 + std::string const& subtype = "");
383 383  
384 384 // Public factory methods
385 385  
... ...
libqpdf/qpdf-c.cc
... ... @@ -1159,7 +1159,7 @@ QPDF_BOOL qpdf_oh_is_name_and_equals(
1159 1159 }
1160 1160  
1161 1161 QPDF_BOOL qpdf_oh_is_dictionary_of_type(
1162   - qpdf_data qpdf, qpdf_oh oh, char const* type, char const* subtype)
  1162 + qpdf_data qpdf, qpdf_oh oh, char const* type, char const* subtype)
1163 1163 {
1164 1164 auto stype = (subtype == nullptr) ? "" : subtype;
1165 1165 return do_with_oh<QPDF_BOOL>(
... ...
qpdf/qpdf-ctest.c
... ... @@ -703,7 +703,7 @@ static void test25(char const* infile,
703 703 assert(qpdf_oh_is_or_has_name(
704 704 qpdf, qpdf_oh_get_array_item(qpdf, p_five, 0), "/Five"));
705 705 assert(qpdf_oh_is_name_and_equals(
706   - qpdf, qpdf_oh_get_array_item(qpdf, p_five, 0), "/Five"));
  706 + qpdf, qpdf_oh_get_array_item(qpdf, p_five, 0), "/Five"));
707 707 assert(qpdf_oh_is_null(qpdf, p_null));
708 708 assert(qpdf_oh_get_type_code(qpdf, p_null) == ot_null);
709 709 assert(strcmp(qpdf_oh_get_type_name(qpdf, p_null), "null") == 0);
... ...
qpdf/test_driver.cc
... ... @@ -3129,7 +3129,6 @@ static void test_82(QPDF&amp; pdf, char const* arg2)
3129 3129 assert(! pdf.getObjectByID(2,0).isStreamOfType("/Pages"));
3130 3130 }
3131 3131  
3132   -
3133 3132 void runtest(int n, char const* filename1, char const* arg2)
3134 3133 {
3135 3134 // Most tests here are crafted to work on specific files. Look at
... ...