diff options
Diffstat (limited to 'sc/source/ui/docshell/dbdocimp.cxx')
-rw-r--r-- | sc/source/ui/docshell/dbdocimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx index 6710ed4659fb..d83fb8be69f4 100644 --- a/sc/source/ui/docshell/dbdocimp.cxx +++ b/sc/source/ui/docshell/dbdocimp.cxx @@ -262,7 +262,7 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam, uno::Reference<sdbc::XRow> xRow( xRowSet, uno::UNO_QUERY ); if ( nColCount > 0 && xRow.is() ) { - nEndCol = (SCCOL)( rParam.nCol1 + nColCount - 1 ); + nEndCol = static_cast<SCCOL>( rParam.nCol1 + nColCount - 1 ); uno::Sequence<sal_Int32> aColTypes( nColCount ); // column types uno::Sequence<sal_Bool> aColCurr( nColCount ); // currency flag is not in types |