sd/source/core/shapelist.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ef457e417c6e0c1b5a515f90c57e811c9fc66f46
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Feb 5 19:24:27 2022 +0000
Commit:     Michael Stahl <[email protected]>
CommitDate: Mon Feb 7 15:10:19 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/+/129548
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>

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 */

Reply via email to