summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-14 10:15:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-15 06:57:30 +0100
commit1c4acfdcb10b2cdeac8efb331fc9db8d01de9c66 (patch)
treedb62150a573b220aabec44ae08c313f71ffe609b
parentf7214c70676b35baff427d986ffb85b8c79c0ca8 (diff)
fix unnecessary delete
the erase on the preceding line will delete it, ever since commit a846c7106d4e4e1b8cc61e237cc2e158d037e816 Date: Wed Jul 25 12:26:15 2018 +0200 loplugin:useuniqueptr in SwGlossaryList Change-Id: I8f71bca8eebf762aeea3225d3a3b52ec2ac60e19 Reviewed-on: https://gerrit.libreoffice.org/66316 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sw/source/uibase/utlui/gloslst.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/gloslst.cxx b/sw/source/uibase/utlui/gloslst.cxx
index 2c92c4a5acbb..d7e97deff15b 100644
--- a/sw/source/uibase/utlui/gloslst.cxx
+++ b/sw/source/uibase/utlui/gloslst.cxx
@@ -318,7 +318,6 @@ void SwGlossaryList::Update()
if(!bFound)
{
aGroupArr.erase(aGroupArr.begin() + i);
- delete pGroup;
}
}
}