summaryrefslogtreecommitdiff
path: root/sc/source/filter/qpro/qproform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/qpro/qproform.cxx')
-rw-r--r--sc/source/filter/qpro/qproform.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index 73da364969c9..6a2a22c1be95 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -43,7 +43,7 @@ void QProToSc::ReadSRD( ScSingleRefData& rSRD, sal_Int8 nPage, sal_Int8 nCol, sa
if( nRelBit & 0x2000 )
{
- SCROW nRelRow = (sal_Int16)(nTmp << 3); // This looks weird... Mistake?
+ SCROW nRelRow = static_cast<sal_Int16>(nTmp << 3); // This looks weird... Mistake?
nRelRow /= 8;
rSRD.SetRelRow(nRelRow);
}
@@ -347,7 +347,7 @@ ConvErr QProToSc::Convert( const ScTokenArray*& pArray )
case FT_ConstInt:{
sal_uInt16 nVal;
nVal = nIntArray[ nIntCount ];
- aStack << aPool.Store( ( double ) nVal );
+ aStack << aPool.Store( static_cast<double>(nVal) );
nIntCount++;
}
break;