View | Details | Raw Unified | Return to bug 244850 | Differences between
and this patch

Collapse All | Expand All

(-)cui/source/tabpages/tpline.cxx (-1 / +1 lines)
Lines 491-497 Link Here
491
            else if( m_pLineEndList->Count() > static_cast<long>( nPos - 1 ) )
491
            else if( m_pLineEndList->Count() > static_cast<long>( nPos - 1 ) )
492
                pItem.reset(new XLineStartItem( m_xLbStartStyle->get_active_text(), m_pLineEndList->GetLineEnd( nPos - 1 )->GetLineEnd() ));
492
                pItem.reset(new XLineStartItem( m_xLbStartStyle->get_active_text(), m_pLineEndList->GetLineEnd( nPos - 1 )->GetLineEnd() ));
493
            pOld = GetOldItem( *rAttrs, XATTR_LINESTART );
493
            pOld = GetOldItem( *rAttrs, XATTR_LINESTART );
494
            if( pItem && ( !pOld || !( *static_cast<const XLineEndItem*>(pOld) == *pItem ) ) )
494
            if( pItem && ( !pOld || *pOld != *pItem ) )
495
            {
495
            {
496
                rAttrs->Put( *pItem );
496
                rAttrs->Put( *pItem );
497
                bModified = true;
497
                bModified = true;

Return to bug 244850