summaryrefslogtreecommitdiff
path: root/sd/qa/unit/import-tests.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/qa/unit/import-tests.cxx')
-rw-r--r--sd/qa/unit/import-tests.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 8ab8e0be29ad..065a32c5f359 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -1362,7 +1362,7 @@ void SdImportTest::testTdf93124()
{
for (long nX = 34; nX < (34 + 43); ++nX)
{
- const Color aColor = pReadAccess->GetColor(nY, nX);
+ const Color aColor = pReadAccess->GetColor(nY, nX).GetColor();
if ((aColor.GetRed() != 0xff) || (aColor.GetGreen() != 0xff) || (aColor.GetBlue() != 0xff))
++nNonWhiteCount;
}
@@ -1432,7 +1432,7 @@ void SdImportTest::testTdf99729()
{
for (long nY = 16; nY < (16 + 96); ++nY)
{
- const Color aColor = pRead->GetColor(nY, nX);
+ const Color aColor = pRead->GetColor(nY, nX).GetColor();
if ((aColor.GetRed() != 0xff) || (aColor.GetGreen() != 0xff) || (aColor.GetBlue() != 0xff))
++nonwhitecounts[i];
}
@@ -1817,7 +1817,7 @@ bool checkPatternValues(std::vector<sal_uInt8>& rExpected, Bitmap& rBitmap)
{
for (long x = 0; x < pAccess->Width(); ++x)
{
- Color aColor = pAccess->GetPixel(y, x);
+ Color aColor = pAccess->GetPixel(y, x).GetColor();
sal_uInt8 aValue = rExpected[y*8+x];
if (aValue == 1 && aColor != aFGColor)