summaryrefslogtreecommitdiff
path: root/sc/qa/unit/subsequent_export-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/subsequent_export-test.cxx')
-rw-r--r--sc/qa/unit/subsequent_export-test.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 06ed9dcdf9ad..0149b0585b0a 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -2078,8 +2078,8 @@ void ScExportTest::testSheetProtectionXLSX()
// check has
if (aHash.getLength() >= 2)
{
- CPPUNIT_ASSERT_EQUAL(sal_uInt8(204), (sal_uInt8)aHash[0]);
- CPPUNIT_ASSERT_EQUAL(sal_uInt8(61), (sal_uInt8)aHash[1]);
+ CPPUNIT_ASSERT_EQUAL(sal_uInt8(204), static_cast<sal_uInt8>(aHash[0]));
+ CPPUNIT_ASSERT_EQUAL(sal_uInt8(61), static_cast<sal_uInt8>(aHash[1]));
}
// we could flesh out this check I guess
CPPUNIT_ASSERT ( !pTabProtect->isOptionEnabled( ScTableProtection::OBJECTS ) );
@@ -3815,8 +3815,8 @@ void ScExportTest::testHiddenRepeatedRowsODS()
SCROW nLastRow = 0;
bool bHidden = rDoc.RowHidden(0, 0, &nFirstRow, &nLastRow);
CPPUNIT_ASSERT(bHidden);
- CPPUNIT_ASSERT_EQUAL((SCROW)0, nFirstRow);
- CPPUNIT_ASSERT_EQUAL((SCROW)20, nLastRow);
+ CPPUNIT_ASSERT_EQUAL(SCROW(0), nFirstRow);
+ CPPUNIT_ASSERT_EQUAL(SCROW(20), nLastRow);
xDocSh->DoClose();
}