summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-25 17:49:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-26 08:01:42 +0100
commit51b5b93092d6231615de470c62494c24e54828a1 (patch)
tree7d1556d834a9f61e0f40f29f318c57328cba67e7 /dbaccess
parentb9fe4f26eaf1099b8d0907b8d9cbf52c86914466 (diff)
remove some unused local vars
found by a more aggressive variant of loplugin:unusedvariables. This is my first pass, committing the simplest and most obviously unnecessary vars Change-Id: I9676a6e39a101937097788548764506c93811c57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87414 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx1
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 257a10f3b8c0..0522d4ab834e 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -145,7 +145,6 @@ SQLExceptionInfo createConnection( const OUString& _rsDataSourceName,
catch(const Exception&)
{
}
- SQLExceptionInfo aInfo;
return createConnection(xProp,_rxContext,_rEvtLst,_rOUTConnection);
}
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 8908bc658ed1..f0f383b126e2 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1388,7 +1388,6 @@ sal_Int8 OSelectionBrowseBox::ExecuteDrop( const BrowserExecuteDropEvent& _rEvt
return DND_ACTION_NONE;
}
- rtl::Reference<OTableFieldDesc> aInfo;
// insert the field at the selected position
OJoinExchangeData jxdSource = OJoinExchObj::GetSourceDescription(_rEvt.maDropEvent.Transferable);
InsertField(jxdSource);