vcl/source/edit/texteng.cxx | 1 - 1 file changed, 1 deletion(-) New commits: commit 776288e208b23e78415121efec66a7ad8eb8f31b Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Tue May 8 10:47:50 2018 +0200
tdf#117491 Base crash when editing text in SQL query editor regression from commit 148b84160667ed3ec74c8767f6e62567479488f9 loplugin:useuniqueptr in TETextPortionList Change-Id: I464a56c26876a9153278d2f99931ca4e3cc3e01f Reviewed-on: https://gerrit.libreoffice.org/53959 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index f0a895ae77c7..3beff673c1be 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -1875,7 +1875,6 @@ void TextEngine::RecalcTextPortion( sal_uInt32 nPara, sal_Int32 nStartPos, sal_I { // remove Portion pTEParaPortion->GetTextPortions().erase( pTEParaPortion->GetTextPortions().begin() + nPortion ); - delete pTP; } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits