summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-09 12:59:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-09 13:57:45 +0100
commita93b691b78c95676d0dcf2724563aa1a8a5a2e8e (patch)
tree96aeaa5837666e9d7a000990ea3453a66f3435cc /connectivity
parent4887f9fe2d5bdbf8d760d88a984439efbdf37d5a (diff)
loplugin:unusedvariable add some more std:: types
Change-Id: Ib15931e415990b56367fe3e1c7cf3f22cc4826d5 Reviewed-on: https://gerrit.libreoffice.org/44529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/hsqldb/HCatalog.cxx1
-rw-r--r--connectivity/source/drivers/mysql/YCatalog.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/connectivity/source/drivers/hsqldb/HCatalog.cxx b/connectivity/source/drivers/hsqldb/HCatalog.cxx
index 303abfcb6b05..2bc4c8210c9f 100644
--- a/connectivity/source/drivers/hsqldb/HCatalog.cxx
+++ b/connectivity/source/drivers/hsqldb/HCatalog.cxx
@@ -109,7 +109,6 @@ void OHCatalog::refreshUsers()
if ( xResult.is() )
{
Reference< XRow > xRow(xResult,UNO_QUERY);
- TString2IntMap aMap;
while( xResult->next() )
aVector.push_back(xRow->getString(1));
::comphelper::disposeComponent(xResult);
diff --git a/connectivity/source/drivers/mysql/YCatalog.cxx b/connectivity/source/drivers/mysql/YCatalog.cxx
index 13c53f62c154..ed7f95ea0a77 100644
--- a/connectivity/source/drivers/mysql/YCatalog.cxx
+++ b/connectivity/source/drivers/mysql/YCatalog.cxx
@@ -96,7 +96,6 @@ void OMySQLCatalog::refreshUsers()
if ( xResult.is() )
{
Reference< XRow > xRow(xResult,UNO_QUERY);
- TString2IntMap aMap;
while( xResult->next() )
aVector.push_back(xRow->getString(1));
::comphelper::disposeComponent(xResult);