summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/cancelcommandexecution.cxx
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2001-06-15 07:48:49 +0000
committerKai Sommerfeld <kso@openoffice.org>2001-06-15 07:48:49 +0000
commitc6a59e3424b00c9568f487eaec9f0da3959910a8 (patch)
tree8fcff1d45dd99fd152583aa0be7a85715de0f78b /ucbhelper/source/provider/cancelcommandexecution.cxx
parentd4b8bb024efdb1ef597d3fd835c8c4859c2b7b4f (diff)
#87187# - Parameter's type changed from XContent -> XContentIdentifier.
Diffstat (limited to 'ucbhelper/source/provider/cancelcommandexecution.cxx')
-rw-r--r--ucbhelper/source/provider/cancelcommandexecution.cxx11
1 files changed, 6 insertions, 5 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() );
}
}