summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-06-03 12:22:35 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-03 12:23:05 +0200
commit8ea041fee44aecc6efda14c1d17f4637d3b42f11 (patch)
treedcade97b72df99d990820eec1ddd14fa138a5de7
parent52a2f1d57d706a6ba45d307ed3f5409c8f0527ef (diff)
Use the right control variable for index access
Change-Id: Ic0b9f7bc62cbce52c7f870ba77d5463fd759566f
-rw-r--r--vcl/source/filter/wmf/enhwmf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index 9fd8a9f56f92..ad2a3a6d0d33 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -428,7 +428,7 @@ void EnhWMFReader::ReadAndDrawPolyPolygon()
{
T nX(0), nY(0);
*pWMF >> nX >> nY;
- pPtAry[ i ] = Point( nX, nY );
+ pPtAry[ j ] = Point( nX, nY );
++nReadPoints;
}