summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-26 13:26:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-28 07:19:46 +0100
commit65f007c629e5a7b2710e21e3f26164b433576e27 (patch)
treed064b7c23ffe3948443fe1a4499a56308e01f97a /sdext
parent1446e097e76669c0d7749ec0f8918606d3cc4c28 (diff)
remove some unused local vars
found by my new aggressive unused var plugin. these are unused return values from function calls Change-Id: I3359c583f535828f192cb833762dfedc008d82f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87439 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/optimizerdialogcontrols.cxx4
-rw-r--r--sdext/source/presenter/PresenterController.cxx3
2 files changed, 3 insertions, 4 deletions
diff --git a/sdext/source/minimizer/optimizerdialogcontrols.cxx b/sdext/source/minimizer/optimizerdialogcontrols.cxx
index ef193b85a4a5..75dff5fb6e02 100644
--- a/sdext/source/minimizer/optimizerdialogcontrols.cxx
+++ b/sdext/source/minimizer/optimizerdialogcontrols.cxx
@@ -844,8 +844,8 @@ void OptimizerDialog::InitPage4()
Sequence< OUString > aNames( pNames, nCount );
Sequence< Any > aValues( pValues, nCount );
- Reference< XMultiPropertySet > xMultiPropertySet( insertControlModel( "com.sun.star.awt.UnoControlProgressBarModel",
- "Progress", aNames, aValues ), UNO_QUERY );
+ insertControlModel( "com.sun.star.awt.UnoControlProgressBarModel",
+ "Progress", aNames, aValues );
}
Reference< XTextListener > xTextListener;
Sequence< OUString > aItemList;
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx
index d2aad85c86cf..7012e0ae177a 100644
--- a/sdext/source/presenter/PresenterController.cxx
+++ b/sdext/source/presenter/PresenterController.cxx
@@ -733,8 +733,7 @@ void SAL_CALL PresenterController::notifyConfigurationChange (
Reference<XPane> xPane (rEvent.ResourceObject,UNO_QUERY);
if (xPane.is())
{
- PresenterPaneContainer::SharedPaneDescriptor pDescriptor (
- mpPaneContainer->FindPaneId(xPane->getResourceId()));
+ mpPaneContainer->FindPaneId(xPane->getResourceId());
}
}
else if (rEvent.ResourceId->isBoundTo(mxMainPaneId,AnchorBindingMode_INDIRECT))