vcl/source/app/svdata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 52a91c1e329f07ea0c7e1de364f0a6f50c039053
Author:     Xisco Fauli <[email protected]>
AuthorDate: Thu Oct 31 17:07:56 2024 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Thu Oct 31 18:17:24 2024 +0100

    tdf#163486: PVS: Initial and final values of the iterator are the same
    
    Since
    commit 4a4602ad7513262a6c0423f17b42791a852b7e23
    Author: Michael Meeks <[email protected]>
    Date:   Fri Mar 10 10:36:22 2023 +0000
    
        lok: add trimMemory capability, and expand dumpState to caches
    
    V625    Consider inspecting the 'for' operator. Initial and final values of 
the iterator are the same.
    
    Change-Id: I9ddd2593ace4234f720a6561b0dcbd85dbc18ef2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175880
    Tested-by: Jenkins
    Reviewed-by: Michael Meeks <[email protected]>

diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index 6437b871f41a..fa80f3dbf127 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -399,7 +399,7 @@ void ImplSVData::dumpState(rtl::OStringBuffer &rState)
     rState.append("     items:");
 
     for (auto it = maGDIData.maScaleCache.begin();
-         it != maGDIData.maScaleCache.begin(); ++it)
+         it != maGDIData.maScaleCache.end(); ++it)
     {
         rState.append("
        ");
         rState.append(static_cast<sal_Int32>(it->first.maDestSize.Width()));

Reply via email to