[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Mon Jun 3 03:23:25 PDT 2013


 vcl/source/filter/wmf/enhwmf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8ea041fee44aecc6efda14c1d17f4637d3b42f11
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

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