diff options
author | Shubham Verma <lifemeansmore008@gmail.com> | 2018-02-23 00:21:07 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-02-27 17:51:42 +0100 |
commit | 0b49701fa5c22abba6b9b4a60ddd2720973dd858 (patch) | |
tree | fe3feb78388d8e6bf05f3a3f6378d7361595b54b /accessibility | |
parent | 49c3bab770ea579d96aa3ea79e1d4ff304f42334 (diff) |
tdf#114441 sal_uLong to better integer types
Change-Id: I55b45821cf67a99f97ba067a3d4923d76c19696e
Reviewed-on: https://gerrit.libreoffice.org/50204
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/textwindowaccessibility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 3b62c886d7af..a4de8a27c67a 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -799,7 +799,7 @@ Document::retrieveParagraphText(Paragraph const * pParagraph) { SolarMutexGuard aGuard; ::osl::MutexGuard aInternalGuard(GetMutex()); - return m_rEngine.GetText(static_cast< ::sal_uLong >(pParagraph->getNumber())); + return m_rEngine.GetText(static_cast< ::sal_uInt32 >(pParagraph->getNumber())); // numeric overflow cannot happen here } |