summaryrefslogtreecommitdiff
path: root/forms/source/richtext/specialdispatchers.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext/specialdispatchers.cxx')
-rw-r--r--forms/source/richtext/specialdispatchers.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx
index ef1168c2a7a8..759618843ea6 100644
--- a/forms/source/richtext/specialdispatchers.cxx
+++ b/forms/source/richtext/specialdispatchers.cxx
@@ -68,10 +68,10 @@ namespace frm
if ( !pEngine )
return;
- sal_uInt16 nParagraphs = pEngine->GetParagraphCount();
+ sal_Int32 nParagraphs = pEngine->GetParagraphCount();
if ( nParagraphs )
{
- sal_uInt16 nLastParaNumber = nParagraphs - 1;
+ sal_Int32 nLastParaNumber = nParagraphs - 1;
xub_StrLen nParaLen = pEngine->GetTextLen( nLastParaNumber );
getEditView()->SetSelection( ESelection( 0, 0, nLastParaNumber, nParaLen ) );
}