diff options
Diffstat (limited to 'ucbhelper/source/provider/cancelcommandexecution.cxx')
-rw-r--r-- | ucbhelper/source/provider/cancelcommandexecution.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucbhelper/source/provider/cancelcommandexecution.cxx b/ucbhelper/source/provider/cancelcommandexecution.cxx index 4fe2b8d4a490..755218e51dfb 100644 --- a/ucbhelper/source/provider/cancelcommandexecution.cxx +++ b/ucbhelper/source/provider/cancelcommandexecution.cxx @@ -40,7 +40,7 @@ namespace ucbhelper { -void cancelCommandExecution( const uno::Any & rException, +void cancelCommandExecution( const uno::Exception & rException, const uno::Reference< ucb::XCommandEnvironment > & xEnv ) { @@ -51,7 +51,7 @@ void cancelCommandExecution( const uno::Any & rException, if ( xIH.is() ) { rtl::Reference< ucbhelper::InteractionRequest > xRequest - = new ucbhelper::InteractionRequest( rException ); + = new ucbhelper::InteractionRequest( uno::makeAny(rException) ); uno::Sequence< uno::Reference< task::XInteractionContinuation > > aContinuations( 1 ); @@ -69,11 +69,11 @@ void cancelCommandExecution( const uno::Any & rException, throw ucb::CommandFailedException( OUString(), uno::Reference< uno::XInterface >(), - rException ); + uno::makeAny(rException) ); } } - cppu::throwException( rException ); + cppu::throwException( uno::makeAny(rException) ); OSL_FAIL( "Return from cppu::throwException call!!!" ); throw uno::RuntimeException(); } |