Kaydet (Commit) 97a72b42 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix warning: unused variable 'sColumnName' [loplugin]

Change-Id: I3b4267f9782bc7bc71247523c8fd5940bc8cef38
üst 1a04271d
......@@ -686,22 +686,6 @@ sal_Int32 getTablePrivileges(const Reference< XDatabaseMetaData>& _xMetaData,
if ( xCurrentRow.is() )
{
// after creation the set is positioned before the first record, per definition
#ifdef DBG_UTIL
Reference< XResultSetMetaDataSupplier > xSup(xPrivileges,UNO_QUERY);
if ( xSup.is() )
{
Reference< XResultSetMetaData > xRsMetaData = xSup->getMetaData();
if ( xRsMetaData.is() )
{
sal_Int32 nCount = xRsMetaData->getColumnCount();
for (sal_Int32 i=1; i<=nCount; ++i)
{
::rtl::OUString sColumnName = xRsMetaData->getColumnName(i);
}
}
}
#endif
::rtl::OUString sPrivilege, sGrantee;
while ( xPrivileges->next() )
{
......
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