summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-15 15:31:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-15 15:31:42 +0100
commite44a0d05eaf3163733b19a3dcfcd66f7088142e0 (patch)
tree4a48fff007cf3feec1e8f91486df860980f91b3a /vcl
parent2ba485158bfa089e931c0c3e29389fe64a42dd4d (diff)
Improve test failure output
Change-Id: I1678e746b8b37750b488b3328ad915d7ae50caef
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/jpeg/JpegReaderTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx b/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx
index 573d3639b0ae..127de3c9f0e0 100644
--- a/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx
+++ b/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx
@@ -96,8 +96,8 @@ Bitmap JpegReaderTest::loadJPG(const OUString& aURL)
GraphicFilter& rFilter = GraphicFilter::GetGraphicFilter();
Graphic aGraphic;
SvFileStream aFileStream(aURL, StreamMode::READ);
- bool bResult = rFilter.ImportGraphic(aGraphic, aURL, aFileStream) == 0;
- CPPUNIT_ASSERT(bResult);
+ sal_uInt16 bResult = rFilter.ImportGraphic(aGraphic, aURL, aFileStream);
+ CPPUNIT_ASSERT_EQUAL(sal_uInt16(0), bResult);
return aGraphic.GetBitmapEx().GetBitmap();
}