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

(-)txtimp.cxx (+6 lines)
Lines 1661-1669 Link Here
1661
        pProps->Name = sHeadingStyleName;
1661
        pProps->Name = sHeadingStyleName;
1662
        for ( sal_Int32 i = 0; i < nCount; ++i )
1662
        for ( sal_Int32 i = 0; i < nCount; ++i )
1663
        {
1663
        {
1664
            // --> OD 2009-12-11 #i107610#
1665
            if ( bSetEmptyLevels ||
1666
                 sChosenStyles[i].getLength() > 0 )
1667
            // <--
1668
            {
1664
            pProps->Value <<= sChosenStyles[i];
1669
            pProps->Value <<= sChosenStyles[i];
1665
            xChapterNumbering->replaceByIndex( i, makeAny( aProps ) );
1670
            xChapterNumbering->replaceByIndex( i, makeAny( aProps ) );
1666
        }
1671
        }
1672
        }
1667
        // <--
1673
        // <--
1668
    }
1674
    }
1669
}
1675
}

Return to issue 107610