Kaydet (Commit) c528a8e4 authored tarafından Pierre-André Jacquod's avatar Pierre-André Jacquod

cppcheck scope reduction in connectivity/.. main.cxx

üst 07ba3729
...@@ -457,9 +457,10 @@ void menuBookmark() ...@@ -457,9 +457,10 @@ void menuBookmark()
} }
int autoTest(Reference<XResultSet> &xRes) int autoTest(Reference<XResultSet> &xRes)
{ {
sal_Int32 nRows = 0;
printColumns(xRes); printColumns(xRes);
if(xRes.is()) { if(xRes.is())
{
sal_Int32 nRows = 0;
while( xRes.is() && xRes->next()) while( xRes.is() && xRes->next())
{ {
nRows++; nRows++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment