diff options
author | Stephan Bergmann <sb@openoffice.org> | 2001-05-03 07:39:55 +0000 |
---|---|---|
committer | Stephan Bergmann <sb@openoffice.org> | 2001-05-03 07:39:55 +0000 |
commit | 803e98bf6294ec851a26591fc4fd913b7809acf8 (patch) | |
tree | 2452ec2701c2b10a7c7ee75ef4cd5ea68730490b /uui/source | |
parent | df75e6bfc6c231a09f3eb066a3aec836ee3506ff (diff) |
#86324# Changed service name to com.sun.star.task.InteractionHandler, but kept old name (...uui...) for backwards compatibility.
Diffstat (limited to 'uui/source')
-rw-r--r-- | uui/source/iahndl.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 0274e0a32ca0..c44241168f33 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: iahndl.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: kso $ $Date: 2001-04-18 13:24:44 $ + * last change: $Author: sb $ $Date: 2001-05-03 08:39:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -791,18 +791,18 @@ UUIInteractionHandler::handle( uno::Sequence< rtl::OUString > UUIInteractionHandler::getSupportedServiceNames_static() { - uno::Sequence< rtl::OUString > aNames(1); - aNames[0] = rtl::OUString::createFromAscii( - "com.sun.star.uui.InteractionHandler"); + uno::Sequence< rtl::OUString > aNames(2); + aNames[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "com.sun.star.task.InteractionHandler")); + aNames[1] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "com.sun.star.uui.InteractionHandler")); + // for backwards compatibility return aNames; } //============================================================================ // static -uno::Reference< uno::XInterface > -#if SUPD >= 590 -SAL_CALL -#endif // SUPD +uno::Reference< uno::XInterface > SAL_CALL UUIInteractionHandler::createInstance( uno::Reference< lang::XMultiServiceFactory > const &) { |