sw/source/core/access/accpara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9aec18854afb1ec2d28c334861924ad6eacf26af Author: Herbert Duerr <h...@apache.org> Date: Mon Dec 10 02:08:46 2012 -0600 i121446:fix SwAccessibleParagraph::GetGlyphBoundary()'s ret val Change-Id: I651ed02aa65b556c2315c8d9ed49ab7dc59687c8 diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 6d0b596..a66aeb5 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -730,7 +730,7 @@ sal_Bool SwAccessibleParagraph::GetGlyphBoundary( rText, nPos, aLocale, nIterMode, 1, nDone ); rBound.startPos = pBreakIt->GetBreakIter()->previousCharacters( rText, rBound.endPos, aLocale, nIterMode, 1, nDone ); - + bRet = ((rBound.startPos <= nPos) && (nPos <= rBound.endPos)); OSL_ENSURE( rBound.startPos <= nPos, "start pos too high" ); OSL_ENSURE( rBound.endPos >= nPos, "end pos too low" ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits