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

Julien Nabet serval2412 at yahoo.fr
Thu Jun 6 15:15:46 PDT 2013


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

New commits:
commit a5b8cc67c448ba724132988302fbfb643d2c1630
Author: Julien Nabet <serval2412 at yahoo.fr>
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


More information about the Libreoffice-commits mailing list