summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-15 15:32:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-15 15:36:23 +0000
commit854188e3b14c8eb67a1871f2c9d666f4bd22f08b (patch)
tree9462406fad40170ff24b4cd5d98ef39c593c2414 /forms
parent48ed1d39a00c2ad617fab9191f192ef7509e8747 (diff)
remove last xub_StrLen in forms
Change-Id: If6c711cf9c317411c72260b4029521782f8a282c
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/specialdispatchers.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx
index 15c2c4242138..f39ecc82b40b 100644
--- a/forms/source/richtext/specialdispatchers.cxx
+++ b/forms/source/richtext/specialdispatchers.cxx
@@ -71,7 +71,7 @@ namespace frm
if ( nParagraphs )
{
sal_Int32 nLastParaNumber = nParagraphs - 1;
- xub_StrLen nParaLen = pEngine->GetTextLen( nLastParaNumber );
+ sal_Int32 nParaLen = pEngine->GetTextLen( nLastParaNumber );
getEditView()->SetSelection( ESelection( 0, 0, nLastParaNumber, nParaLen ) );
}
}