diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-25 20:03:25 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-25 21:44:13 +0200 |
commit | 97a72b42c03de3d9286998758e13fc170bc0cba9 (patch) | |
tree | e1f3ec9b5ece204ccab2c7f6df7f4ac1bf4c156f /connectivity/source/commontools | |
parent | 1a04271d2e5de7dccfeb3ac0609e49155b5fe250 (diff) |
Fix warning: unused variable 'sColumnName' [loplugin]
Change-Id: I3b4267f9782bc7bc71247523c8fd5940bc8cef38
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/dbtools2.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx index 4d6d802f046d..fdccc155312f 100644 --- a/connectivity/source/commontools/dbtools2.cxx +++ b/connectivity/source/commontools/dbtools2.cxx @@ -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() ) { |