diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2001-06-15 07:48:49 +0000 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2001-06-15 07:48:49 +0000 |
commit | c6a59e3424b00c9568f487eaec9f0da3959910a8 (patch) | |
tree | 8fcff1d45dd99fd152583aa0be7a85715de0f78b /ucbhelper/source/provider | |
parent | d4b8bb024efdb1ef597d3fd835c8c4859c2b7b4f (diff) |
#87187# - Parameter's type changed from XContent -> XContentIdentifier.
Diffstat (limited to 'ucbhelper/source/provider')
-rw-r--r-- | ucbhelper/source/provider/cancelcommandexecution.cxx | 11 | ||||
-rw-r--r-- | ucbhelper/source/provider/simpleioerrorrequest.cxx | 10 |
2 files changed, 11 insertions, 10 deletions
diff --git a/ucbhelper/source/provider/cancelcommandexecution.cxx b/ucbhelper/source/provider/cancelcommandexecution.cxx index 75cf64260967..ef204df8fe6a 100644 --- a/ucbhelper/source/provider/cancelcommandexecution.cxx +++ b/ucbhelper/source/provider/cancelcommandexecution.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cancelcommandexecution.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kso $ $Date: 2001-06-11 06:52:09 $ + * last change: $Author: kso $ $Date: 2001-06-15 08:48:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -134,14 +134,15 @@ void cancelCommandExecution( const uno::Any & rException, } //========================================================================= -void cancelCommandExecution( const uno::Reference< ucb::XContent > & xContent, +void cancelCommandExecution( const uno::Reference< + ucb::XContentIdentifier > & xId, const ucb::IOErrorCode eError, const uno::Reference< ucb::XCommandEnvironment > & xEnv ) throw( uno::Exception ) { rtl::Reference< ucbhelper::SimpleIOErrorRequest > xRequest - = new ucbhelper::SimpleIOErrorRequest( xContent, eError ); + = new ucbhelper::SimpleIOErrorRequest( xId, eError ); if ( xEnv.is() ) { @@ -157,7 +158,7 @@ void cancelCommandExecution( const uno::Reference< ucb::XContent > & xContent, if ( xSelection.is() ) throw ucb::CommandFailedException( rtl::OUString(), - xContent, + xId, xRequest->getRequest() ); } } diff --git a/ucbhelper/source/provider/simpleioerrorrequest.cxx b/ucbhelper/source/provider/simpleioerrorrequest.cxx index 7730eb0bd716..618fd0483ab4 100644 --- a/ucbhelper/source/provider/simpleioerrorrequest.cxx +++ b/ucbhelper/source/provider/simpleioerrorrequest.cxx @@ -2,9 +2,9 @@ * * $RCSfile: simpleioerrorrequest.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: kso $ $Date: 2001-06-11 06:52:57 $ + * last change: $Author: kso $ $Date: 2001-06-15 08:48:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,13 +72,13 @@ using namespace ucbhelper; //========================================================================= SimpleIOErrorRequest::SimpleIOErrorRequest( - const uno::Reference< ucb::XContent > & xContent, - const com::sun::star::ucb::IOErrorCode eError ) + const uno::Reference< ucb::XContentIdentifier > & xId, + const com::sun::star::ucb::IOErrorCode eError ) { // Fill request... ucb::InteractiveIOException aRequest; // aRequest.Message = // OUString - aRequest.Context = xContent; + aRequest.Context = xId; aRequest.Classification = task::InteractionClassification_ERROR; aRequest.Code = eError; |