[Libreoffice-commits] core.git: dbaccess/source sc/qa vcl/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 13 06:29:16 UTC 2020
dbaccess/source/core/api/RowSetCache.cxx | 1 -
sc/qa/extras/scdatapilotfieldgroupitemobj.cxx | 2 --
sc/qa/extras/scdatapilotfieldgroupobj.cxx | 2 --
sc/qa/extras/scdatapilotfieldgroupsobj.cxx | 2 --
vcl/source/gdi/TypeSerializer.cxx | 1 -
5 files changed, 8 deletions(-)
New commits:
commit eb5de8ec13b1db3a3e62622db2d87a77846a3b16
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue May 12 22:01:14 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed May 13 08:28:35 2020 +0200
loplugin:unusedvariableplus
Change-Id: I58a466ac18debafa3bc2ff31c648ff51e126ab8f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94083
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index eea0ecde4ae2..21098ccacdfb 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -142,7 +142,6 @@ ORowSetCache::ORowSetCache(const Reference< XResultSet >& _xRs,
bool bNeedKeySet = !bBookmarkable || (xPropInfo->hasPropertyByName(PROPERTY_RESULTSETCONCURRENCY) &&
::comphelper::getINT32(xProp->getPropertyValue(PROPERTY_RESULTSETCONCURRENCY)) == ResultSetConcurrency::READ_ONLY);
- Reference< XIndexAccess> xUpdateTableKeys;
OUString aUpdateTableName = _rUpdateTableName;
Reference< XConnection> xConnection;
// first we need a connection
diff --git a/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx b/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx
index f3e1fc11aa79..e40170e5198c 100644
--- a/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx
@@ -151,8 +151,6 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupItemObj::init()
aElements[1] = "otherName";
xDPFG->createNameGroup(aElements);
- uno::Reference<container::XNameAccess> xNA_GroupNames;
-
uno::Reference<container::XIndexAccess> xIA_DPT1(xDPTS->getDataPilotTables(),
uno::UNO_QUERY_THROW);
uno::Reference<sheet::XDataPilotDescriptor> xDPD1(xIA_DPT1->getByIndex(0),
diff --git a/sc/qa/extras/scdatapilotfieldgroupobj.cxx b/sc/qa/extras/scdatapilotfieldgroupobj.cxx
index e59ccf713adc..8fc85a85faea 100644
--- a/sc/qa/extras/scdatapilotfieldgroupobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldgroupobj.cxx
@@ -177,8 +177,6 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupObj::init()
aElements[1] = "otherName";
xDPFG->createNameGroup(aElements);
- uno::Reference<container::XNameAccess> xNA_GroupNames;
-
uno::Reference<container::XIndexAccess> xIA_DPT1(xDPTS->getDataPilotTables(),
uno::UNO_QUERY_THROW);
uno::Reference<sheet::XDataPilotDescriptor> xDPD1(xIA_DPT1->getByIndex(0),
diff --git a/sc/qa/extras/scdatapilotfieldgroupsobj.cxx b/sc/qa/extras/scdatapilotfieldgroupsobj.cxx
index 0d8b3c8b3656..e742d2328205 100644
--- a/sc/qa/extras/scdatapilotfieldgroupsobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldgroupsobj.cxx
@@ -181,8 +181,6 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupsObj::init()
aElements[1] = "otherName";
xDPFG->createNameGroup(aElements);
- uno::Reference<container::XNameAccess> xNA_GroupNames;
-
uno::Reference<container::XIndexAccess> xIA_DPT1(xDPTS->getDataPilotTables(),
uno::UNO_QUERY_THROW);
uno::Reference<sheet::XDataPilotDescriptor> xDPD1(xIA_DPT1->getByIndex(0),
diff --git a/vcl/source/gdi/TypeSerializer.cxx b/vcl/source/gdi/TypeSerializer.cxx
index 0f1fd0ee43b9..e2f399f2d76a 100644
--- a/vcl/source/gdi/TypeSerializer.cxx
+++ b/vcl/source/gdi/TypeSerializer.cxx
@@ -250,7 +250,6 @@ void TypeSerializer::readGraphic(Graphic& rGraphic)
}
else
{
- Graphic aGraphic;
GDIMetaFile aMetaFile;
mrStream.Seek(nInitialStreamPosition);
More information about the Libreoffice-commits
mailing list