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

(-)source/filter/ww8/wrtw8esh.cxx (-5 / +11 lines)
Lines 622-632 Link Here
622
            }
622
            }
623
            else
623
            else
624
            {
624
            {
625
                const SwFrmFmt &rPageFmt = 
625
                for (USHORT n = rWrt.maFlyPos.Count(); n > 0;)
626
                  rWrt.pDoc->GetPageDesc(
626
                {
627
                  rFmt.GetAnchor().GetPageNum()).GetMaster();
627
                    const SwPosFlyFrm *pItem = rWrt.maFlyPos[--n];
628
                bBiDi = 
628
                    if (pItem && &pItem->GetFmt() == &rFmt)
629
                  (FRMDIR_HORI_RIGHT_TOP == rPageFmt.GetFrmDir().GetValue());
629
                    {
630
                        SwPosition aAnchorPos(pItem->GetNdIndex());
631
                        bBiDi = 
632
                            (FRMDIR_HORI_RIGHT_TOP == rWrt.pDoc->GetTextDirection(aAnchorPos));
633
                        break;
634
                    }
635
                }
630
            }
636
            }
631
637
632
            sal_Int32 nLeft = aRect.Left() + aIter->mnThick;
638
            sal_Int32 nLeft = aRect.Left() + aIter->mnThick;

Return to issue 24978