summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-07 08:03:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-07 08:03:11 +0200
commit52da4081bf6d7bf97e102dab3e0082f11488215b (patch)
tree95f260bbb118ffe2661d007b4aa9c70a6d7130ed /connectivity
parenta13db19a2f21011443268d5d64dac4cd566bd1b6 (diff)
Remove dead DBG_UTIL code
Change-Id: Icb208bc457eaab06bc14e874c70a25308179785d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/dbtools2.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx
index 43f4aaef2774..7ee10d3f3323 100644
--- a/connectivity/source/commontools/dbtools2.cxx
+++ b/connectivity/source/commontools/dbtools2.cxx
@@ -710,18 +710,8 @@ sal_Int32 getTablePrivileges(const Reference< XDatabaseMetaData>& _xMetaData,
OUString sPrivilege, sGrantee;
while ( xPrivileges->next() )
{
-#ifdef DBG_UTIL
- OUString sCat, sSchema, sName, sGrantor, sGrantable;
- sCat = xCurrentRow->getString(1);
- sSchema = xCurrentRow->getString(2);
- sName = xCurrentRow->getString(3);
- sGrantor = xCurrentRow->getString(4);
-#endif
sGrantee = xCurrentRow->getString(5);
sPrivilege = xCurrentRow->getString(6);
-#ifdef DBG_UTIL
- sGrantable = xCurrentRow->getString(7);
-#endif
if (!sUserWorkingFor.equalsIgnoreAsciiCase(sGrantee))
continue;
@@ -759,19 +749,8 @@ sal_Int32 getTablePrivileges(const Reference< XDatabaseMetaData>& _xMetaData,
OUString sPrivilege, sGrantee;
while ( xColumnPrivileges->next() )
{
-#ifdef DBG_UTIL
- OUString sCat, sSchema, sTableName, sColumnName, sGrantor, sGrantable;
- sCat = xColumnCurrentRow->getString(1);
- sSchema = xColumnCurrentRow->getString(2);
- sTableName = xColumnCurrentRow->getString(3);
- sColumnName = xColumnCurrentRow->getString(4);
- sGrantor = xColumnCurrentRow->getString(5);
-#endif
sGrantee = xColumnCurrentRow->getString(6);
sPrivilege = xColumnCurrentRow->getString(7);
-#ifdef DBG_UTIL
- sGrantable = xColumnCurrentRow->getString(8);
-#endif
if (!sUserWorkingFor.equalsIgnoreAsciiCase(sGrantee))
continue;