View | Details | Raw Unified | Return to issue 72349
Collapse All | Expand All

(-)source/editeng/impedit2.cxx (-1 / +2 lines)
Lines 1764-1772 Link Here
1764
1767
1765
		USHORT nS = ( nPara == nStartPara ) ? aSel.Min().GetIndex() : 0;
1768
		USHORT nS = ( nPara == nStartPara ) ? aSel.Min().GetIndex() : 0;
1766
		USHORT nE = ( nPara == nEndPara ) ? aSel.Max().GetIndex() : pParaPortion->GetNode()->Len();
1769
		USHORT nE = ( nPara == nEndPara ) ? aSel.Max().GetIndex() : pParaPortion->GetNode()->Len();
1770
1767
		for ( USHORT n = 0; n < rTypes.Count(); n++ )
1771
		for ( USHORT n = 0; n < rTypes.Count(); n++ )
1768
		{
1772
		{
1769
			if ( ( rTypes[n].nStartPos <= nE ) && ( rTypes[n].nEndPos >= nS ) )
1773
			if ( ( rTypes[n].nStartPos < nE ) && ( rTypes[n].nEndPos > nS ) )
1770
		   	{
1774
		   	{
1771
				if ( rTypes[n].nScriptType != i18n::ScriptType::WEAK )
1775
				if ( rTypes[n].nScriptType != i18n::ScriptType::WEAK )
1772
				{
1776
				{

Return to issue 72349