diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-03 12:22:35 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-03 13:39:38 +0200 |
commit | 6dfd6a0e115136f7ae1730458508d76007560517 (patch) | |
tree | 2394c0cd8cda54cd59e35ab636f6149168010bdd /vcl | |
parent | baa6b7f1a86a0014c9ce176b687bf6ac3edf933d (diff) |
Use the right control variable for index access
Change-Id: Ic0b9f7bc62cbce52c7f870ba77d5463fd759566f
(cherry picked from commit 8ea041fee44aecc6efda14c1d17f4637d3b42f11)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/wmf/enhwmf.cxx | 2 |
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; } |