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

(-)sw/source/core/layout/fly.cxx (-1 / +2 lines)
Lines 2691-2697 Link Here
2691
            nMin = ((SwTxtFrm*)pFrm)->CalcFitToContent();
2691
            nMin = ((SwTxtFrm*)pFrm)->CalcFitToContent();
2692
            const SvxLRSpaceItem &rSpace =
2692
            const SvxLRSpaceItem &rSpace =
2693
                ((SwTxtFrm*)pFrm)->GetTxtNode()->GetSwAttrSet().GetLRSpace();
2693
                ((SwTxtFrm*)pFrm)->GetTxtNode()->GetSwAttrSet().GetLRSpace();
2694
            nMin += rSpace.GetRight() + rSpace.GetTxtLeft() + rSpace.GetTxtFirstLineOfst();
2694
            if (!((SwTxtFrm*)pFrm)->IsLocked())
2695
                nMin += rSpace.GetRight() + rSpace.GetTxtLeft() + rSpace.GetTxtFirstLineOfst();
2695
        }
2696
        }
2696
        else if ( pFrm->IsTabFrm() )
2697
        else if ( pFrm->IsTabFrm() )
2697
        {
2698
        {

Return to issue 119952