summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updatehdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updatehdl.cxx')
-rw-r--r--extensions/source/update/check/updatehdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx
index 2acbd05c5a74..084ecb2e29f8 100644
--- a/extensions/source/update/check/updatehdl.cxx
+++ b/extensions/source/update/check/updatehdl.cxx
@@ -482,7 +482,7 @@ void SAL_CALL UpdateHandler::queryTermination( const lang::EventObject& )
throw frame::TerminationVetoException(
"The office cannot be closed while displaying a warning!",
- uno::Reference<XInterface>(static_cast<frame::XTerminateListener*>(this), uno::UNO_QUERY));
+ static_cast<frame::XTerminateListener*>(this));
}
else
setVisible( false );