tools/source/memtools/multisel.cxx | 1 - 1 file changed, 1 deletion(-)
New commits: commit 16fb77b15a9a77d14d457594727689394f248953 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Oct 29 10:53:13 2018 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Oct 31 07:30:22 2018 +0100 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.gran...@collabora.co.uk> 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() ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits