https://bugs.documentfoundation.org/show_bug.cgi?id=91259

--- Comment #7 from Michael Meeks <[email protected]> ---
An ill-advised memcpy in SplitWin appears to clobbers things and bust the
reference counting - or at least makes it too hard to track; will re-work that
to a vector or somewhat and re-run the analytics =)

    ImplSplitItem* pNewItems = new ImplSplitItem[pSet->mnItems+1];
    if ( nPos )
        memcpy( pNewItems, pSet->mpItems, sizeof( ImplSplitItem )*nPos );
    if ( nPos < pSet->mnItems )
        memcpy( pNewItems+nPos+1, pSet->mpItems+nPos, sizeof( ImplSplitItem
)*(pSet->mnItems-nPos) );

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to