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; |