diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-02-25 15:44:39 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-02-25 15:44:39 +0000 |
commit | 6794b41fe70cea7e307d408263374eefc2f85fc9 (patch) | |
tree | d956a7001731dbbc6fe9f058684b11e7bd88f623 | |
parent | 93517df1bd8c1d0968134400cb22b6b20f666642 (diff) |
INTEGRATION: CWS layoutmanager (1.2.4); FILE MERGED
2004/01/26 08:58:25 as 1.2.4.1: #111770# correct service name handling
-rw-r--r-- | basctl/source/basicide/unomodel.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx index ed0d3b9cf271..aa087a28965a 100644 --- a/basctl/source/basicide/unomodel.cxx +++ b/basctl/source/basicide/unomodel.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unomodel.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: kz $ $Date: 2004-01-28 12:56:52 $ + * last change: $Author: kz $ $Date: 2004-02-25 16:44:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -138,9 +138,7 @@ OUString SIDEModel::getImplementationName(void) throw( uno::RuntimeException ) sal_Bool SIDEModel::supportsService(const OUString& rServiceName) throw( uno::RuntimeException ) { - // The BasicIDE isnt a real OfficeDocument! It should have its own service. - // Currently I`ve recycle the implementation name as service name ... - return rServiceName.equalsAscii("com.sun.star.comp.basic.BasicIDE"); + return rServiceName == ::rtl::OUString::createFromAscii("com.sun.star.script.BasicIDE"); } uno::Sequence< OUString > SIDEModel::getSupportedServiceNames(void) throw( uno::RuntimeException ) { @@ -151,7 +149,7 @@ uno::Sequence< OUString > SIDEModel::getSupportedServiceNames_Static(void) { uno::Sequence< OUString > aRet(1); OUString* pArray = aRet.getArray(); - pArray[0] = rtl::OUString::createFromAscii("com.sun.star.comp.basic.BasicIDE"); + pArray[0] = ::rtl::OUString::createFromAscii("com.sun.star.script.BasicIDE"); return aRet; } |