[Libreoffice-commits] core.git: tools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 31 06:30:50 UTC 2018
tools/source/memtools/multisel.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 16fb77b15a9a77d14d457594727689394f248953
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Oct 29 10:53:13 2018 +0200
Commit: Noel Grandin <noel.grandin at 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.grandin at 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() )
More information about the Libreoffice-commits
mailing list