Kaydet (Commit) 2851dc3f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove useless check against SAL_MAX_INT32

...changed from a check against USHRT_MAX in
3cbfcee3 "xub_StrLen and tools/string.hxx final
straw"

Change-Id: I8311803f9b5d1a78d8039d4810b0ae3cfdd27c53
Reviewed-on: https://gerrit.libreoffice.org/48770Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst e1204090
......@@ -611,7 +611,7 @@ namespace accessibility
bool AccessibleEditableTextPara::GetAttributeRun( sal_Int32& nStartIndex, sal_Int32& nEndIndex, sal_Int32 nIndex )
{
DBG_ASSERT(nIndex >= 0 && nIndex <= SAL_MAX_INT32,
DBG_ASSERT(nIndex >= 0,
"AccessibleEditableTextPara::GetAttributeRun: index value overflow");
DBG_ASSERT(GetParagraphIndex() >= 0 && GetParagraphIndex() <= SAL_MAX_INT32,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment