diff options
Diffstat (limited to 'sc/source/filter/html/htmlexp.cxx')
-rw-r--r-- | sc/source/filter/html/htmlexp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index 5045dd7daee9..f6b9387c1398 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -1212,7 +1212,7 @@ sal_Bool ScHTMLExport::WriteFieldText( const ScEditCell* pCell ) // text and anchor of URL fields, Doc-Engine is a ScFieldEditEngine EditEngine& rEngine = pDoc->GetEditEngine(); rEngine.SetText( *pData ); - sal_uInt16 nParas = rEngine.GetParagraphCount(); + sal_Int32 nParas = rEngine.GetParagraphCount(); if ( nParas ) { ESelection aSel( 0, 0, nParas-1, rEngine.GetTextLen( nParas-1 ) ); @@ -1225,7 +1225,7 @@ sal_Bool ScHTMLExport::WriteFieldText( const ScEditCell* pCell ) { sal_Bool bOldUpdateMode = rEngine.GetUpdateMode(); rEngine.SetUpdateMode( sal_True ); // no portions if not formatted - for ( sal_uInt16 nPar=0; nPar < nParas; nPar++ ) + for ( sal_Int32 nPar=0; nPar < nParas; nPar++ ) { if ( nPar > 0 ) TAG_ON( OOO_STRING_SVTOOLS_HTML_linebreak ); |