diff options
Diffstat (limited to 'vcl/qa/cppunit/graphicfilter/filters-webp-test.cxx')
-rw-r--r-- | vcl/qa/cppunit/graphicfilter/filters-webp-test.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/graphicfilter/filters-webp-test.cxx b/vcl/qa/cppunit/graphicfilter/filters-webp-test.cxx index f9d0bfa842dc..4bc04bb419bd 100644 --- a/vcl/qa/cppunit/graphicfilter/filters-webp-test.cxx +++ b/vcl/qa/cppunit/graphicfilter/filters-webp-test.cxx @@ -152,7 +152,8 @@ void WebpFilterTest::testRoundtrip(bool lossy) CPPUNIT_ASSERT_EQUAL(true, aDetector.detect()); CPPUNIT_ASSERT_EQUAL(true, aDetector.checkWEBP()); - CPPUNIT_ASSERT_EQUAL(OUString(u"WEBP"), aDetector.msDetectedFormat); + CPPUNIT_ASSERT_EQUAL(OUString(u"WEBP"), + vcl::getImportFormatShortName(aDetector.getMetadata().mnFormat)); } void WebpFilterTest::testReadAlphaLossless() { testRead(false, true); } |