summaryrefslogtreecommitdiff
path: root/ucbhelper/inc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-07 07:42:17 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-07 07:42:17 +0000
commitc4ea4fcf5859b0d6eac6bd61ac646b6ce58af0fc (patch)
treec25c1cd6ca2507d686d63480a73f369e374fbbab /ucbhelper/inc
parentcc8cdd8424a832dbea50151b5536aa21ce09bba3 (diff)
INTEGRATION: CWS supdremove (1.8.82); FILE MERGED
2007/11/16 10:23:37 vg 1.8.82.1: #i83674# cleanup: remove obsolete SUPD macro use
Diffstat (limited to 'ucbhelper/inc')
-rw-r--r--ucbhelper/inc/ucbhelper/cancelcommandexecution.hxx91
1 files changed, 2 insertions, 89 deletions
diff --git a/ucbhelper/inc/ucbhelper/cancelcommandexecution.hxx b/ucbhelper/inc/ucbhelper/cancelcommandexecution.hxx
index 17f0173a1377..f0beddcc856b 100644
--- a/ucbhelper/inc/ucbhelper/cancelcommandexecution.hxx
+++ b/ucbhelper/inc/ucbhelper/cancelcommandexecution.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cancelcommandexecution.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 16:24:52 $
+ * last change: $Author: obo $ $Date: 2008-01-07 08:42:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -83,93 +83,6 @@ UCBHELPER_DLLPUBLIC void cancelCommandExecution( const com::sun::star::uno::Any
xEnv )
throw( com::sun::star::uno::Exception );
-#if SUPD < 641
-/** Cancel the execution of a command by throwing the appropriate exception.
- If an Interaction Handler is given with the command environment and the
- handler handles the exception by selecting the supplied continuation,
- then this function will put the original exception supplied into a
- com::sun::star::ucb::CommandFailedException and throw the
- CommandFailedException. If no handler was given or the handler was not
- able to handle the exception, then the given exception will be thrown
- directly.
-
- NOTE THAT THIS FUNCTION NEVER RETURNS! IT ALWAYS THROWS AN EXCEPTION!
-
- @param eError is an IO error code.
-
- @param rArg is a string argument to pass along with the exception. Each
- IO error code can be combined with one or more additional
- arguments. Refer to com/sun/star/ucb/IOErroprCode.idl for details.
-
- @param xEnv is the command environment that may contain an Interaction
- Handler to use before throwing the appropriate exception.
-
- @param rMessage is a text containing additional error information.
- Used as debugging aid only. Passed to the member 'Message' of the
- uno::Exception thrown by this function.
-
- @param xContext is the command processor executing the command to cancel.
- Used as debugging aid only. Passed to the member 'Context' of the
- uno::Exception thrown by this function.
- */
-void cancelCommandExecution( const com::sun::star::ucb::IOErrorCode eError,
- const rtl::OUString & rArg,
- const com::sun::star::uno::Reference<
- com::sun::star::ucb::XCommandEnvironment > &
- xEnv,
- const rtl::OUString & rMessage = rtl::OUString(),
- const com::sun::star::uno::Reference<
- com::sun::star::ucb::XCommandProcessor > &
- xContext = 0 )
- throw( com::sun::star::uno::Exception );
-
-/** Cancel the execution of a command by throwing the appropriate exception.
- If an Interaction Handler is given with the command environment and the
- handler handles the exception by selecting the supplied continuation,
- then this function will put the original exception supplied into a
- com::sun::star::ucb::CommandFailedException and throw the
- CommandFailedException. If no handler was given or the handler was not
- able to handle the exception, then the given exception will be thrown
- directly.
-
- NOTE THAT THIS FUNCTION NEVER RETURNS! IT ALWAYS THROWS AN EXCEPTION!
-
- @param eError is an IO error code.
-
- @param rArg1 is a string to pass as the first argument with the resulting
- InteractivAugmentedIOException. Each IO error code can be combined
- with one or more additional arguments. Refer to
- com/sun/star/ucb/IOErroprCode.idl for details.
-
- @param rArg2 is a string to pass as the second argument with the resulting
- InteractivAugmentedIOException. Each IO error code can be combined
- with one or more additional arguments. Refer to
- com/sun/star/ucb/IOErroprCode.idl for details.
-
- @param xEnv is the command environment that may contain an Interaction
- Handler to use before throwing the appropriate exception.
-
- @param rMessage is a text containing additional error information.
- Used as debugging aid only. Passed to the member 'Message' of the
- uno::Exception thrown by this function.
-
- @param xContext is the command processor executing the command to cancel.
- Used as debugging aid only. Passed to the member 'Context' of the
- uno::Exception thrown by this function.
- */
-void cancelCommandExecution( const com::sun::star::ucb::IOErrorCode eError,
- const rtl::OUString & rArg1,
- const rtl::OUString & rArg2,
- const com::sun::star::uno::Reference<
- com::sun::star::ucb::XCommandEnvironment > &
- xEnv,
- const rtl::OUString & rMessage = rtl::OUString(),
- const com::sun::star::uno::Reference<
- com::sun::star::ucb::XCommandProcessor > &
- xContext = 0 )
- throw( com::sun::star::uno::Exception );
-#endif // SUPD, 641
-
/** Cancel the execution of a command by throwing the appropriate exception.
If an Interaction Handler is given with the command environment and the
handler handles the exception by selecting the supplied continuation,