From f4d10fee110e8387bddfbfa8f35f5f6d26c6f44f Mon Sep 17 00:00:00 2001 From: Kayo Hamid Date: Mon, 28 Mar 2011 12:14:03 +0100 Subject: removes some variableScope cppcheck warnings --- connectivity/workben/testmoz/mozthread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity') diff --git a/connectivity/workben/testmoz/mozthread.cxx b/connectivity/workben/testmoz/mozthread.cxx index b05d132c1ac0..087d0640f5ba 100755 --- a/connectivity/workben/testmoz/mozthread.cxx +++ b/connectivity/workben/testmoz/mozthread.cxx @@ -328,10 +328,10 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected int autoTest(Reference &xRes) { - sal_Int32 nRows = 0; printColumns(xRes); if(xRes.is()) { + sal_Int32 nRows = 0; while( xRes.is() && xRes->next()) { nRows++; -- cgit