diff options
Diffstat (limited to 'sc/source/ui/unoobj/funcuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/funcuno.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx index 2069bfdd81ac..d4d1e53b5443 100644 --- a/sc/source/ui/unoobj/funcuno.cxx +++ b/sc/source/ui/unoobj/funcuno.cxx @@ -329,15 +329,15 @@ public: void visitElem( long nCol, long nRow, sal_Int16 elem ) { - mpDoc->SetValue( (SCCOL) nCol, (SCROW) nRow, 0, elem ); + mpDoc->SetValue( static_cast<SCCOL>(nCol), static_cast<SCROW>(nRow), 0, elem ); } void visitElem( long nCol, long nRow, sal_Int32 elem ) { - mpDoc->SetValue( (SCCOL) nCol, (SCROW) nRow, 0, elem ); + mpDoc->SetValue( static_cast<SCCOL>(nCol), static_cast<SCROW>(nRow), 0, elem ); } void visitElem( long nCol, long nRow, const double& elem ) { - mpDoc->SetValue( (SCCOL) nCol, (SCROW) nRow, 0, elem ); + mpDoc->SetValue( static_cast<SCCOL>(nCol), static_cast<SCROW>(nRow), 0, elem ); } void visitElem( long nCol, long nRow, const OUString& elem ) { @@ -560,7 +560,7 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName, else { // copy data - if ( !lcl_CopyData( pSrcDoc, aSrcRange, pDoc, ScAddress( 0, (SCROW)nDocRow, 0 ) ) ) + if ( !lcl_CopyData( pSrcDoc, aSrcRange, pDoc, ScAddress( 0, static_cast<SCROW>(nDocRow), 0 ) ) ) bOverflow = true; } |