summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-05-31 13:40:07 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-05-31 14:58:04 +0100
commit3eeca6d39a0dd957bd9c3c27dae6c942ce0d9df4 (patch)
tree7d4d3271d72fd599ee6aea090a8f927e0bb98fc9 /connectivity
parent3f723b36c404374dcf10c347d913f8e3cba93fae (diff)
targetted re-work of minor cppcheck fixes
Change-Id: Id0c3cecaccb4d9733149061f652684d3398e9bf2
Diffstat (limited to 'connectivity')
-rwxr-xr-x[-rw-r--r--]connectivity/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 352f12b6a060..f24be56e4b6e 100644..100755
--- a/connectivity/workben/testmoz/mozthread.cxx
+++ b/connectivity/workben/testmoz/mozthread.cxx
@@ -322,10 +322,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++;