--- cui/source/tabpages/tpline.cxx 2019-12-05 20:59:23.000000000 +0100 +++ cui/source/tabpages/tpline.cxx 2020-03-17 22:06:49.493222000 +0100 @@ -491,7 +491,7 @@ else if( m_pLineEndList->Count() > static_cast( nPos - 1 ) ) pItem.reset(new XLineStartItem( m_xLbStartStyle->get_active_text(), m_pLineEndList->GetLineEnd( nPos - 1 )->GetLineEnd() )); pOld = GetOldItem( *rAttrs, XATTR_LINESTART ); - if( pItem && ( !pOld || !( *static_cast(pOld) == *pItem ) ) ) + if( pItem && ( !pOld || *pOld != *pItem ) ) { rAttrs->Put( *pItem ); bModified = true;