cppcheck scope reduction in connectivity/.. main.cxx

This commit is contained in:
Pierre-André Jacquod
2011-10-02 12:08:16 +02:00
parent 07ba372985
commit c528a8e48d

View File

@@ -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++;