summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-29 10:53:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-31 07:30:22 +0100
commit16fb77b15a9a77d14d457594727689394f248953 (patch)
treefc1a9af629664c9050601f1f23567c966155bfd3 /tools
parent9078b0b8f48b161ad5b880c31a4413f9e706f01b (diff)
fix delete in MultiSelection::SetTotalRange
leftover from conversion to using std::vector<Range> instead of std::vector<Range*> Change-Id: Iaa2d81b0fac4551f4d1ed685d1e728d5e0ea6929 Reviewed-on: https://gerrit.libreoffice.org/62644 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/memtools/multisel.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx
index b63cabd01cdb..8fd0c61aeb27 100644
--- a/tools/source/memtools/multisel.cxx
+++ b/tools/source/memtools/multisel.cxx
@@ -423,7 +423,6 @@ void MultiSelection::SetTotalRange( const Range& rTotRange )
{
if( pRange->Max() < aTotRange.Min() )
{
- delete pRange;
aSels.erase( aSels.begin() );
}
else if( pRange->Min() < aTotRange.Min() )