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