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

(-)oox/source/xls/stylesbuffer.cxx (-1 / +3 lines)
Lines 3052-3058 Link Here
3052
3052
3053
    /*  Calculate names of user defined styles. Store styles with reserved
3053
    /*  Calculate names of user defined styles. Store styles with reserved
3054
        names in the aConflictNameStyles list. */
3054
        names in the aConflictNameStyles list. */
3055
    for( CellStyleVector::iterator aIt = maUserStyles.begin(), aEnd = maUserStyles.end(); aIt != aEnd; ++aIt )
3055
    // 4050 comes from sc module:  EXC_XF_MAXCOUNT = 4050;     /// Maximum number of all XF records.
3056
    const CellStyleVector::const_iterator aEnd = (maUserStyles.size() > 4050) ? (maUserStyles.begin() + 4050) : maUserStyles.end();
3057
    for( CellStyleVector::iterator aIt = maUserStyles.begin(); aIt != aEnd; ++aIt )
3056
    {
3058
    {
3057
        const CellStyleModel& rModel = (*aIt)->getModel();
3059
        const CellStyleModel& rModel = (*aIt)->getModel();
3058
        OUString aStyleName = lclCreateStyleName( rModel );
3060
        OUString aStyleName = lclCreateStyleName( rModel );

Return to issue 120619