diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/cancelcommandexecution.cxx | 4 | ||||
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/ucbhelper/source/provider/cancelcommandexecution.cxx b/ucbhelper/source/provider/cancelcommandexecution.cxx index f700c8a4afc1..8aac85c240aa 100644 --- a/ucbhelper/source/provider/cancelcommandexecution.cxx +++ b/ucbhelper/source/provider/cancelcommandexecution.cxx @@ -58,7 +58,7 @@ void cancelCommandExecution( const uno::Any & rException, xRequest->setContinuations( aContinuations ); - xIH->handle( xRequest.get() ); + xIH->handle( xRequest ); rtl::Reference< ucbhelper::InteractionContinuation > xSelection = xRequest->getSelection(); @@ -94,7 +94,7 @@ void cancelCommandExecution( const ucb::IOErrorCode eError, task::XInteractionHandler > xIH = xEnv->getInteractionHandler(); if ( xIH.is() ) { - xIH->handle( xRequest.get() ); + xIH->handle( xRequest ); rtl::Reference< ucbhelper::InteractionContinuation > xSelection = xRequest->getSelection(); diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index 32dff58783e6..f273d51907d4 100644 --- a/ucbhelper/source/provider/contenthelper.cxx +++ b/ucbhelper/source/provider/contenthelper.cxx @@ -854,8 +854,7 @@ ContentImplHelper::getCommandInfo( else if ( !bCache ) m_pImpl->m_xCommandsInfo->reset(); - return uno::Reference< css::ucb::XCommandInfo >( - m_pImpl->m_xCommandsInfo.get() ); + return m_pImpl->m_xCommandsInfo; } uno::Reference< beans::XPropertySetInfo > @@ -871,8 +870,7 @@ ContentImplHelper::getPropertySetInfo( else if ( !bCache ) m_pImpl->m_xPropSetInfo->reset(); - return uno::Reference< beans::XPropertySetInfo >( - m_pImpl->m_xPropSetInfo.get() ); + return m_pImpl->m_xPropSetInfo; } } // namespace ucbhelper |