summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorKayo Hamid <kayo.hamid@gekkolinux.com.br>2011-03-28 12:14:03 +0100
committerNoel Power <noel.power@novell.com>2011-03-28 12:14:03 +0100
commitf4d10fee110e8387bddfbfa8f35f5f6d26c6f44f (patch)
treefd64084c4403cebc1831f4377b047e22b185d21d /connectivity
parent40fe03745fc75609350cf8115134eb07f04eefa7 (diff)
removes some variableScope cppcheck warnings
Diffstat (limited to 'connectivity')
-rwxr-xr-xconnectivity/workben/testmoz/mozthread.cxx2
1 files changed, 1 insertions, 1 deletions
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<XResultSet> &xRes)
{
- sal_Int32 nRows = 0;
printColumns(xRes);
if(xRes.is())
{
+ sal_Int32 nRows = 0;
while( xRes.is() && xRes->next())
{
nRows++;