summaryrefslogtreecommitdiff
path: root/connectivity/workben
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/workben')
-rw-r--r--connectivity/workben/testmoz/main.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/workben/testmoz/main.cxx b/connectivity/workben/testmoz/main.cxx
index 798bbcaa24ea..1a49208148ec 100644
--- a/connectivity/workben/testmoz/main.cxx
+++ b/connectivity/workben/testmoz/main.cxx
@@ -457,9 +457,10 @@ void menuBookmark()
}
int autoTest(Reference<XResultSet> &xRes)
{
- sal_Int32 nRows = 0;
printColumns(xRes);
- if(xRes.is()) {
+ if(xRes.is())
+ {
+ sal_Int32 nRows = 0;
while( xRes.is() && xRes->next())
{
nRows++;