summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/PNGExportTests.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/PNGExportTests.cxx b/sd/qa/unit/PNGExportTests.cxx
index 2c77bd9bbfed..dcbe54054bd6 100644
--- a/sd/qa/unit/PNGExportTests.cxx
+++ b/sd/qa/unit/PNGExportTests.cxx
@@ -195,7 +195,7 @@ CPPUNIT_TEST_FIXTURE(SdPNGExportTest, testTdf136632)
SvFileStream aFileStream(maTempFile.GetURL(), StreamMode::READ);
vcl::PngImageReader aPNGReader(aFileStream);
BitmapEx aBMPEx = aPNGReader.read();
- AlphaMask aAlpha = aBMPEx.GetAlpha();
+ AlphaMask aAlpha = aBMPEx.GetAlphaMask();
AlphaMask::ScopedReadAccess pReadAccess(aAlpha);
// Without the fix in place, this test would have failed here
@@ -284,7 +284,7 @@ CPPUNIT_TEST_FIXTURE(SdPNGExportTest, testTdf147119)
Size aSize = aBMPEx.GetSizePixel();
CPPUNIT_ASSERT_EQUAL(Size(100, 100), aSize);
- AlphaMask aAlpha = aBMPEx.GetAlpha();
+ AlphaMask aAlpha = aBMPEx.GetAlphaMask();
{
AlphaMask::ScopedReadAccess pReadAccess(aAlpha);
for (tools::Long nX = 1; nX < aSize.Width() - 1; ++nX)