diff options
Diffstat (limited to 'sdext/source/presenter/PresenterButton.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterButton.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterButton.cxx b/sdext/source/presenter/PresenterButton.cxx index 26206dbc28ec..961e4ff5b425 100644 --- a/sdext/source/presenter/PresenterButton.cxx +++ b/sdext/source/presenter/PresenterButton.cxx @@ -160,7 +160,7 @@ void SAL_CALL PresenterButton::disposing() mxWindow->removePaintListener(this); mxWindow->removeMouseListener(this); mxWindow->removeMouseMotionListener(this); - Reference<lang::XComponent> xComponent (mxWindow, UNO_QUERY); + Reference<lang::XComponent> xComponent = mxWindow; mxWindow = nullptr; if (xComponent.is()) xComponent->dispose(); |