diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-05 19:24:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-05 22:34:08 +0100 |
commit | 29e66d56d1f5499556fc38e51df76ce9210119fe (patch) | |
tree | a020576e5a944d74ca6ba7d77a0c5764f9c27547 /sd | |
parent | 6481fffb1e3aa0f4f75778bd354389a1d39a8f00 (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/+/129536
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/shapelist.cxx | 2 |
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 */ |