[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - vcl/source
Stephan Bergmann
sbergman at redhat.com
Mon Jun 3 04:40:43 PDT 2013
vcl/source/filter/wmf/enhwmf.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6dfd6a0e115136f7ae1730458508d76007560517
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jun 3 12:22:35 2013 +0200
Use the right control variable for index access
Change-Id: Ic0b9f7bc62cbce52c7f870ba77d5463fd759566f
(cherry picked from commit 8ea041fee44aecc6efda14c1d17f4637d3b42f11)
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index 9fd8a9f..ad2a3a6 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;
}
More information about the Libreoffice-commits
mailing list