diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-04-02 17:31:17 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-07-07 03:47:33 +0200 |
commit | 7cc291a8f2db3b2a65d07eded04e51c3c848c709 (patch) | |
tree | 9a75bae736fc560c7790a29733fae5a2b5dfd89e /vcl/qa/cppunit/GraphicTest.cxx | |
parent | 267083e9e7768adcd5316851ce51e1cc22d4627e (diff) |
vcl: inch-size.emf is actually PICT format, rename to inch-size.pct
Change-Id: I69c1cf65415546811777ec3df914db3596887db6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166276
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/qa/cppunit/GraphicTest.cxx')
-rw-r--r-- | vcl/qa/cppunit/GraphicTest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/GraphicTest.cxx b/vcl/qa/cppunit/GraphicTest.cxx index 1130a05708e1..3821c31dcf8e 100644 --- a/vcl/qa/cppunit/GraphicTest.cxx +++ b/vcl/qa/cppunit/GraphicTest.cxx @@ -364,11 +364,12 @@ CPPUNIT_TEST_FIXTURE(GraphicTest, testUnloadedGraphicSizeUnit) { GraphicFilter& rGraphicFilter = GraphicFilter::GetGraphicFilter(); test::Directories aDirectories; - OUString aURL = aDirectories.getURLFromSrc(DATA_DIRECTORY) + "inch-size.emf"; + OUString aURL = aDirectories.getURLFromSrc(DATA_DIRECTORY) + "inch-size.pct"; Size aMtfSize100(42, 42); SvFileStream aStream(aURL, StreamMode::READ); Graphic aGraphic = rGraphicFilter.ImportUnloadedGraphic(aStream, 0, &aMtfSize100); + CPPUNIT_ASSERT_EQUAL(false, aGraphic.isAvailable()); CPPUNIT_ASSERT_EQUAL(Size(42, 42), aGraphic.GetPrefSize()); // Force it to swap in |