summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
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))