summaryrefslogtreecommitdiff
path: root/sc/inc/bigrange.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/bigrange.hxx')
-rw-r--r--sc/inc/bigrange.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/bigrange.hxx b/sc/inc/bigrange.hxx
index 5c8fbb5bfab8..995b03d1a36a 100644
--- a/sc/inc/bigrange.hxx
+++ b/sc/inc/bigrange.hxx
@@ -83,21 +83,21 @@ inline ScAddress ScBigAddress::MakeAddress() const
else if ( nCol > MAXCOL )
nColA = MAXCOL;
else
- nColA = (SCCOL) nCol;
+ nColA = static_cast<SCCOL>(nCol);
if ( nRow < 0 )
nRowA = 0;
else if ( nRow > MAXROW )
nRowA = MAXROW;
else
- nRowA = (SCROW) nRow;
+ nRowA = static_cast<SCROW>(nRow);
if ( nTab < 0 )
nTabA = 0;
else if ( nTab > MAXTAB )
nTabA = MAXTAB;
else
- nTabA = (SCTAB) nTab;
+ nTabA = static_cast<SCTAB>(nTab);
return ScAddress( nColA, nRowA, nTabA );
}