dbaccess/source/ui/dlg/directsql.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a5b8cc67c448ba724132988302fbfb643d2c1630
Author: Julien Nabet <[email protected]>
Date:   Fri Jun 7 00:15:16 2013 +0200

    cppcheck: reduce scope
    
    Change-Id: Ia83fb8615dbe937b4b4478fd7bf128780f8c5289

diff --git a/dbaccess/source/ui/dlg/directsql.cxx 
b/dbaccess/source/ui/dlg/directsql.cxx
index fe5c972..cccafea 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -240,9 +240,9 @@ DBG_NAME(DirectSQLDialog)
                         // initialise the output line for each row
                         String out = OUString("");
                         // work along the columns until that are none left
-                        int i = 1;
                         try
                         {
+                            int i = 1;
                             for (;;)
                             {
                                 // be dumb, treat everything as a string
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to