Kaydet (Commit) d38897d0 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i121447# fix SwAccessibleParagraph::GetGlyphBoundary()'s return value

üst 757d13be
...@@ -758,6 +758,7 @@ sal_Bool SwAccessibleParagraph::GetGlyphBoundary( ...@@ -758,6 +758,7 @@ sal_Bool SwAccessibleParagraph::GetGlyphBoundary(
rBound.startPos = pBreakIt->GetBreakIter()->previousCharacters( rBound.startPos = pBreakIt->GetBreakIter()->previousCharacters(
rText, rBound.endPos, aLocale, nIterMode, 1, nDone ); rText, rBound.endPos, aLocale, nIterMode, 1, nDone );
bRet = ((rBound.startPos <= nPos) && (nPos <= rBound.endPos));
DBG_ASSERT( rBound.startPos <= nPos, "start pos too high" ); DBG_ASSERT( rBound.startPos <= nPos, "start pos too high" );
DBG_ASSERT( rBound.endPos >= nPos, "end pos too low" ); DBG_ASSERT( rBound.endPos >= nPos, "end pos too low" );
} }
......
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