diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-08-16 12:29:35 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-08-16 14:41:29 +0200 |
commit | 0aa2b700aae306674d768356875998f5b8f14f0f (patch) | |
tree | 8135b182b5a31c5c81fbf1e6b5d1dd5225f6bec3 /framework | |
parent | 84fbb174d6c773ecd284398a9dc4fee9f142a193 (diff) |
No need to use throwing Reference ctor from 'this'
Change-Id: I1a9d69d101d3adede0455e94d4026e38131e6c77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138350
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/frame.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index c2efdecd50ca..23caecf79fb1 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -798,8 +798,7 @@ void SAL_CALL XFrameImpl::initialize( const css::uno::Reference< css::awt::XWind lcl_enableLayoutManager(xLayoutManager, this); // create progress helper - css::uno::Reference< css::frame::XFrame > xThis (static_cast< css::frame::XFrame* >(this), - css::uno::UNO_QUERY_THROW); + css::uno::Reference< css::frame::XFrame > xThis (this); css::uno::Reference< css::task::XStatusIndicatorFactory > xIndicatorFactory = css::task::StatusIndicatorFactory::createWithFrame(m_xContext, xThis, false/*DisableReschedule*/, true/*AllowParentShow*/ ); |