diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-03 15:29:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-04 07:44:26 +0100 |
commit | 23255d395f40f6a20635b6f1c39e9d59a2047586 (patch) | |
tree | 53ee80f4e67518dc7d6a31a38baeb7ae059bc86c /framework/source/services/frame.cxx | |
parent | 3165f0ff32b002a6efbc61af4f778ba4075b496e (diff) |
elide unnecessary UNO_QUERY_THROW calls
Change-Id: I0d0fc57f352e9717e721416c8941cfcf48af24c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124650
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/services/frame.cxx')
-rw-r--r-- | framework/source/services/frame.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 9f45e891ff13..d27cea6942d5 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1848,9 +1848,7 @@ void SAL_CALL XFrameImpl::setLayoutManager(const css::uno::Reference<css::uno::X css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL XFrameImpl::getPropertySetInfo() { checkDisposed(); - css::uno::Reference< css::beans::XPropertySetInfo > xInfo( - static_cast< css::beans::XPropertySetInfo* >(this), css::uno::UNO_QUERY_THROW); - return xInfo; + return css::uno::Reference< css::beans::XPropertySetInfo >(this); } void SAL_CALL XFrameImpl::setPropertyValue(const OUString& sProperty, |