#i105571# method <SwFntObj::GetCrsrOfst(..)>
- skip character cells also for CJK
This commit is contained in:
parent
0407085447
commit
e7a5d9d3e1
1 changed files with 5 additions and 1 deletions
|
@ -2424,8 +2424,12 @@ xub_StrLen SwFntObj::GetCrsrOfst( SwDrawTextInfo &rInf )
|
|||
const xub_StrLen nEnd = rInf.GetIdx() + rInf.GetLen();
|
||||
|
||||
// skip character cells for complex scripts
|
||||
if ( rInf.GetFont() && SW_CTL == rInf.GetFont()->GetActual() &&
|
||||
// --> OD 2009-10-14 #i105571# - skip also character cells for CJK
|
||||
if ( rInf.GetFont() &&
|
||||
( SW_CTL == rInf.GetFont()->GetActual() ||
|
||||
SW_CJK == rInf.GetFont()->GetActual() ) &&
|
||||
pBreakIt->GetBreakIter().is() )
|
||||
// <--
|
||||
{
|
||||
aLang = rInf.GetFont()->GetLanguage();
|
||||
bSkipCell = sal_True;
|
||||
|
|
Loading…
Reference in a new issue