summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-08 10:47:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-08 12:01:44 +0200
commit776288e208b23e78415121efec66a7ad8eb8f31b (patch)
tree7f2c511872fd1fcdbd34ca897cfcce110c9eefa6
parent42b32321381126ad70700424b8970dbc45a843f5 (diff)
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@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--vcl/source/edit/texteng.cxx1
1 files changed, 0 insertions, 1 deletions
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
{