summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-05 09:59:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-05 17:35:08 +0200
commit9e57e164844e67faaf2b0424181c2df29e871992 (patch)
tree7932e66cc45c786e0055bea6603f4284ebb856fb /oox
parent7fe756570fb4ab30f540d644fd5125a67c2d9ea9 (diff)
loplugin:unusedvariableplus
Change-Id: Id93086be1224b6f6bf0bdaa1d50b4f289099027e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133876 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/shape.cxx1
-rw-r--r--oox/source/ppt/slidepersist.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 4b0eafe97fee..3951fdc8e7df 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -1036,7 +1036,6 @@ Reference< XShape > const & Shape::createAndInsert(
sal_Int32 i, nNumPoints = aPoly.count();
uno::Sequence< awt::Point > aPointSequence( nNumPoints );
awt::Point* pPoints = aPointSequence.getArray();
- uno::Reference<lang::XServiceInfo> xModelInfo(rFilterBase.getModel(), uno::UNO_QUERY);
for( i = 0; i < nNumPoints; ++i )
{
basegfx::B2DPoint aPoint( aPoly.getB2DPoint( i ) );
diff --git a/oox/source/ppt/slidepersist.cxx b/oox/source/ppt/slidepersist.cxx
index bd7f32b5ef14..81a0fd7991a7 100644
--- a/oox/source/ppt/slidepersist.cxx
+++ b/oox/source/ppt/slidepersist.cxx
@@ -364,7 +364,6 @@ void SlidePersist::createConnectorShapeConnection()
if (pShape == maShapeMap.end())
continue;
uno::Reference<drawing::XShape> xShape(pShape->second->getXShape(), uno::UNO_QUERY);
- uno::Reference<beans::XPropertySet> xSet(xShape, uno::UNO_QUERY);
if (xShape.is())
{
uno::Reference<drawing::XGluePointsSupplier> xSupplier(xShape, uno::UNO_QUERY);