summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-05 19:24:27 +0000
committerMichael Stahl <michael.stahl@allotropia.de>2022-02-07 15:10:19 +0100
commitef457e417c6e0c1b5a515f90c57e811c9fc66f46 (patch)
tree1fd131f6aa3ef2601b53a48fc5c335856102941e
parentcc5583dd49377bcd8c019d11963ca170550466cc (diff)
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/+/129548 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-rw-r--r--sd/source/core/shapelist.cxx2
1 files changed, 1 insertions, 1 deletions
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 */