diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-28 11:21:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-28 21:49:00 +0100 |
commit | 57987270be5dcc22671a78f576f68d89c5f9e2d4 (patch) | |
tree | 7eebcfb0cafc95e4fcd45232083d57af75dadeb3 /editeng | |
parent | 0728732e45b6b8566699370a7288855925c013c5 (diff) |
AccessibleImageBullet::GetParagraphCount no longer restricted to sal_uIn16,
after 2af1f5691e8d64afd5246d245d7876b5a2cd5cd8 "resolved fdo#35756 import more
than 64k HTML table cells"
Change-Id: Ie8fa2810c27ba36a032c6b5e125dc2aeddd63b44
Reviewed-on: https://gerrit.libreoffice.org/48771
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleImageBullet.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx index 90bfa7eda5c7..a475af08b09a 100644 --- a/editeng/source/accessibility/AccessibleImageBullet.cxx +++ b/editeng/source/accessibility/AccessibleImageBullet.cxx @@ -174,7 +174,7 @@ namespace accessibility SolarMutexGuard aGuard; - DBG_ASSERT(GetParagraphIndex() >= 0 && GetParagraphIndex() <= USHRT_MAX, + DBG_ASSERT(GetParagraphIndex() >= 0, "AccessibleImageBullet::getLocale: paragraph index value overflow"); // return locale of first character in the paragraph @@ -212,7 +212,7 @@ namespace accessibility SolarMutexGuard aGuard; - DBG_ASSERT(GetParagraphIndex() >= 0 && GetParagraphIndex() <= USHRT_MAX, + DBG_ASSERT(GetParagraphIndex() >= 0, "AccessibleEditableTextPara::contains: index value overflow"); awt::Rectangle aTmpRect = getBounds(); @@ -234,7 +234,7 @@ namespace accessibility SolarMutexGuard aGuard; - DBG_ASSERT(GetParagraphIndex() >= 0 && GetParagraphIndex() <= USHRT_MAX, + DBG_ASSERT(GetParagraphIndex() >= 0, "AccessibleEditableTextPara::getBounds: index value overflow"); SvxTextForwarder& rCacheTF = GetTextForwarder(); |