diff --git a/unittest/equationdetect_test.cc b/unittest/equationdetect_test.cc index e23c4fb1dd..a22b10c89e 100644 --- a/unittest/equationdetect_test.cc +++ b/unittest/equationdetect_test.cc @@ -127,7 +127,7 @@ class EquationFinderTest : public testing::Test { CHECK(blocks != nullptr); BLOCK_IT block_it(blocks); BLOCK* block = - new BLOCK("", TRUE, 0, 0, 0, 0, pixGetWidth(pix), pixGetHeight(pix)); + new BLOCK("", true, 0, 0, 0, 0, pixGetWidth(pix), pixGetHeight(pix)); block_it.add_to_end(block); } diff --git a/unittest/textlineprojection_test.cc b/unittest/textlineprojection_test.cc index 95b6571e64..f3f1e0cb9f 100644 --- a/unittest/textlineprojection_test.cc +++ b/unittest/textlineprojection_test.cc @@ -83,7 +83,7 @@ class TextlineProjectionTest : public testing::Test { int width = pixGetWidth(bin_pix_); int height = pixGetHeight(bin_pix_); // First make a single block covering the whole image. - BLOCK* block = new BLOCK("", TRUE, 0, 0, 0, 0, width, height); + BLOCK* block = new BLOCK("", true, 0, 0, 0, 0, width, height); block->set_right_to_left(false); BLOCK_LIST src_blocks; BLOCK_IT block_it(&src_blocks);