summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-15 17:15:29 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-16 09:10:21 +0200
commit6917ebc39fb1c4f412ae9fea4e2d858a1b351c47 (patch)
treea605ffb98909babaa89b8ac0bad0d22049bbb379 /cui
parent8353793c94416a9a3a5af074d881624e43e5ec2f (diff)
sal_uLong to sal_uInt32
Change-Id: Ifcde090747127680a9e4b810ff062d024663632c
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 754cb7bbf42f..9dbd04461aa6 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -1897,11 +1897,11 @@ svx::SpellPortions SentenceEditWindow_Impl::CreateSpellPortions( bool bSetIgnore
// quick partly fix of #i71318. Correct fix needs to patch the TextEngine itself...
// this one will only prevent text from disappearing. It may to not have the
// correct language and will probably not spell checked...
- sal_uLong nPara = pTextEngine->GetParagraphCount();
+ const sal_uInt32 nPara = pTextEngine->GetParagraphCount();
if (nPara > 1)
{
OUString aLeftOverText;
- for (sal_uLong i = 1; i < nPara; ++i)
+ for (sal_uInt32 i = 1; i < nPara; ++i)
{
aLeftOverText += "\x0a"; // the manual line break...
aLeftOverText += pTextEngine->GetText(i);