summaryrefslogtreecommitdiffstats
path: root/sc/qa/unit/helper/shared_test_impl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/helper/shared_test_impl.hxx')
-rw-r--r--sc/qa/unit/helper/shared_test_impl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/shared_test_impl.hxx b/sc/qa/unit/helper/shared_test_impl.hxx
index e978191ba337..344e932b0695 100644
--- a/sc/qa/unit/helper/shared_test_impl.hxx
+++ b/sc/qa/unit/helper/shared_test_impl.hxx
@@ -263,7 +263,7 @@ void testFunctionsExcel2010_Impl( ScDocument& rDoc )
ScFormulaCell* pFC = rDoc.GetFormulaCell( ScAddress( 1, nRow, 0) );
if ( pFC && pFC->GetErrCode() != FormulaError::NONE )
- aStr += ", error code =" + OString::number( (int)pFC->GetErrCode() );
+ aStr += ", error code =" + OString::number( static_cast<int>(pFC->GetErrCode()) );
CPPUNIT_ASSERT_MESSAGE( OString( "Expected a formula cell without error at row " +
aStr ).getStr(), isFormulaWithoutError( rDoc, ScAddress( 1, nRow, 0)));