summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/jpeg/JpegReaderTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/cppunit/jpeg/JpegReaderTest.cxx')
-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 127de3c9f0e0..024316c9e739 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);
- sal_uInt16 bResult = rFilter.ImportGraphic(aGraphic, aURL, aFileStream);
- CPPUNIT_ASSERT_EQUAL(sal_uInt16(0), bResult);
+ ErrCode bResult = rFilter.ImportGraphic(aGraphic, aURL, aFileStream);
+ CPPUNIT_ASSERT_EQUAL(ERRCODE_NONE, bResult);
return aGraphic.GetBitmapEx().GetBitmap();
}