summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBase.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneBase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterPaneBase.cxx b/sdext/source/presenter/PresenterPaneBase.cxx
index cbf78989e94e..fd8e1ea30cc1 100644
--- a/sdext/source/presenter/PresenterPaneBase.cxx
+++ b/sdext/source/presenter/PresenterPaneBase.cxx
@@ -79,7 +79,7 @@ void PresenterPaneBase::disposing()
}
{
- Reference<XComponent> xComponent (mxContentWindow, UNO_QUERY);
+ Reference<XComponent> xComponent = mxContentWindow;
mxContentWindow = nullptr;
if (xComponent.is())
xComponent->dispose();
@@ -93,7 +93,7 @@ void PresenterPaneBase::disposing()
}
{
- Reference<XComponent> xComponent (mxBorderWindow, UNO_QUERY);
+ Reference<XComponent> xComponent = mxBorderWindow;
mxBorderWindow = nullptr;
if (xComponent.is())
xComponent->dispose();