sd/source/core/shapelist.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 29e66d56d1f5499556fc38e51df76ce9210119fe Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Feb 5 19:24:27 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Feb 5 22:34:08 2022 +0100 WaE: storing the address of local variable [-Wdangling-pointer] this is presumably what was intended Change-Id: I0c436c1440207140158ae902b17b43549a94d8c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129536 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/core/shapelist.cxx b/sd/source/core/shapelist.cxx index 0991cc464a57..613286c9b9b7 100644 --- a/sd/source/core/shapelist.cxx +++ b/sd/source/core/shapelist.cxx @@ -80,7 +80,7 @@ void ShapeList::clear() for( auto& rpShape : aShapeList ) rpShape->RemoveObjectUser(*this); - maIter = aShapeList.end(); + maIter = maShapeList.end(); } /** returns true if this list is empty */