[Libreoffice-commits] core.git: vcl/source

Noel Grandin noel.grandin at collabora.co.uk
Tue May 8 10:02:07 UTC 2018


 vcl/source/edit/texteng.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 776288e208b23e78415121efec66a7ad8eb8f31b
Author: Noel Grandin <noel.grandin at 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 <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at 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
         {


More information about the Libreoffice-commits mailing list