summaryrefslogtreecommitdiff
path: root/accessibility
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 /accessibility
parent8353793c94416a9a3a5af074d881624e43e5ec2f (diff)
sal_uLong to sal_uInt32
Change-Id: Ifcde090747127680a9e4b810ff062d024663632c
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index 4d9e8329a45e..657b4fefcdd4 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -1757,11 +1757,11 @@ void Document::init()
{
if (m_xParagraphs.get() == 0)
{
- ::sal_uLong nCount = m_rEngine.GetParagraphCount();
+ const sal_uInt32 nCount = m_rEngine.GetParagraphCount();
m_xParagraphs.reset(new Paragraphs);
m_xParagraphs->reserve(static_cast< Paragraphs::size_type >(nCount));
// numeric overflow is harmless here
- for (::sal_uLong i = 0; i < nCount; ++i)
+ for (sal_uInt32 i = 0; i < nCount; ++i)
m_xParagraphs->push_back(ParagraphInfo(static_cast< ::sal_Int32 >(
m_rEngine.GetTextHeight(i))));
// XXX numeric overflow