summaryrefslogtreecommitdiff
path: root/writerperfect/qa/unit/DirectoryStreamTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/qa/unit/DirectoryStreamTest.cxx')
-rw-r--r--writerperfect/qa/unit/DirectoryStreamTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/qa/unit/DirectoryStreamTest.cxx b/writerperfect/qa/unit/DirectoryStreamTest.cxx
index 79646ed4e6fa..0b347ac40d71 100644
--- a/writerperfect/qa/unit/DirectoryStreamTest.cxx
+++ b/writerperfect/qa/unit/DirectoryStreamTest.cxx
@@ -139,7 +139,7 @@ void lcl_testDataOperations(RVNGInputStream &rStream)
CPPUNIT_ASSERT_EQUAL(-1, rStream.seek(0, librevenge::RVNG_SEEK_CUR));
unsigned long numBytesRead = 0;
- CPPUNIT_ASSERT(nullptr == rStream.read(1, numBytesRead));
+ CPPUNIT_ASSERT(!rStream.read(1, numBytesRead));
CPPUNIT_ASSERT_EQUAL(0UL, numBytesRead);
}