summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-10-31 17:07:56 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-31 18:17:24 +0100
commit52a91c1e329f07ea0c7e1de364f0a6f50c039053 (patch)
tree73f05bfeb08d5d90256de70c4e66da48c2524ec5 /vcl/source
parent288d720e4940d8fdd71715e6d339765e90716931 (diff)
tdf#163486: PVS: Initial and final values of the iterator are the same
Since commit 4a4602ad7513262a6c0423f17b42791a852b7e23 Author: Michael Meeks <michael.meeks@collabora.com> 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 <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svdata.cxx2
1 files changed, 1 insertions, 1 deletions
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("\t items:");
for (auto it = maGDIData.maScaleCache.begin();
- it != maGDIData.maScaleCache.begin(); ++it)
+ it != maGDIData.maScaleCache.end(); ++it)
{
rState.append("\n\t");
rState.append(static_cast<sal_Int32>(it->first.maDestSize.Width()));