diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-01-13 16:49:46 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-01-13 16:49:46 +0100 |
commit | a6569df130ac16327e4f52498e9925e16f56bf10 (patch) | |
tree | 0f3f9b83ccfd13aab3f749d5121f907199120877 /forms/source/richtext/specialdispatchers.cxx | |
parent | removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong i... (diff) | |
download | core-a6569df130ac16327e4f52498e9925e16f56bf10.tar.gz core-a6569df130ac16327e4f52498e9925e16f56bf10.zip |
removetooltypes01: #i112600# remove tooltypes from slideshow and forms
Diffstat (limited to 'forms/source/richtext/specialdispatchers.cxx')
-rw-r--r-- | forms/source/richtext/specialdispatchers.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx index 2540c9d797f2..c7f2005eb7df 100644 --- a/forms/source/richtext/specialdispatchers.cxx +++ b/forms/source/richtext/specialdispatchers.cxx @@ -80,10 +80,10 @@ namespace frm if ( !pEngine ) return; - USHORT nParagraphs = pEngine->GetParagraphCount(); + sal_uInt16 nParagraphs = pEngine->GetParagraphCount(); if ( nParagraphs ) { - USHORT nLastParaNumber = nParagraphs - 1; + sal_uInt16 nLastParaNumber = nParagraphs - 1; xub_StrLen nParaLen = pEngine->GetTextLen( nLastParaNumber ); getEditView()->SetSelection( ESelection( 0, 0, nLastParaNumber, nParaLen ) ); } |