summaryrefslogtreecommitdiff
path: root/emfio
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2019-11-30 22:20:10 +1100
committerBartosz Kosiorek <gang65@poczta.onet.pl>2019-12-04 08:10:16 +0100
commit834a03f9183f91cb8d0dc06d66535dee41447bd2 (patch)
tree1ed7cbfd2e6ddab9413c9f6a35e09ea6c3a335b5 /emfio
parentc1b084de6fa9980332c2b946f9fa35fb8c4ad1eb (diff)
vcl: fix number of polygons shown in SAL_INFO message
Change-Id: I9a2c28f465b881583caae8d865d63b701213f8ee Reviewed-on: https://gerrit.libreoffice.org/84139 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'emfio')
-rw-r--r--emfio/source/reader/emfreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index 77d5b58cfd00..2c48d3e6ce23 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -588,7 +588,7 @@ namespace emfio
T nX, nY;
*mpInputStream >> nX >> nY;
- SAL_INFO("emfio", "\t\t\tPoint " << i << " of " << nPoints << ": " << nX << ", " << nY);
+ SAL_INFO("emfio", "\t\t\tPoint " << i << " of " << nPoints - 1 << ": " << nX << ", " << nY);
if (!mpInputStream->good())
{