[Libreoffice-commits] .: hwpfilter/source

Tor Lillqvist tml at kemper.freedesktop.org
Mon Jun 27 04:06:31 PDT 2011


 hwpfilter/source/hwpreader.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 0493d33f85ffb37a472f4feb5a5435f29ba826cf
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Mon Jun 27 14:06:18 2011 +0300

    Fix Windows build

diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 416ae51..42bd323 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -543,7 +543,8 @@ void HwpReader::makeDrawMiscStyle( HWPDrawingObject *hdo )
                             close(fd);
                         }
 #ifdef _WIN32
-                        for(int j = 0 ; j < (int)strlen( dirname ) ; j++)
+                        int j;
+                        for(j = 0 ; j < (int)strlen( dirname ) ; j++)
                         {
                             if( dirname[j] == '\\' ) buf[j] = '/';
                             else buf[j] = dirname[j];


More information about the Libreoffice-commits mailing list