diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-13 11:31:31 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-13 11:31:31 +0000 |
commit | e01682e67a9bc514d7c0d2d2316a5c87ec70d04a (patch) | |
tree | 78e24125e7aa5ed55cf3000293f9ec6de5b5251c /shell/source/backends/kdebe/kdebackend.cxx | |
parent | d10e4be661f008f5c32bd5f14dded158a5c802aa (diff) |
INTEGRATION: CWS pathoptions01 (1.3.10); FILE MERGED
2006/07/11 12:05:08 obr 1.3.10.1: #i66461# has moved to Paths.xcs
Diffstat (limited to 'shell/source/backends/kdebe/kdebackend.cxx')
-rw-r--r-- | shell/source/backends/kdebe/kdebackend.cxx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/shell/source/backends/kdebe/kdebackend.cxx b/shell/source/backends/kdebe/kdebackend.cxx index ba59eed07470..374135b3859f 100644 --- a/shell/source/backends/kdebe/kdebackend.cxx +++ b/shell/source/backends/kdebe/kdebackend.cxx @@ -4,9 +4,9 @@ * * $RCSfile: kdebackend.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2006-06-22 10:14:12 $ + * last change: $Author: obo $ $Date: 2006-07-13 12:31:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,6 +44,9 @@ #ifndef KDEVCLLAYER_HXX_ #include "kdevcllayer.hxx" #endif +#ifndef KDEPATHSLAYER_HXX_ +#include "kdepathslayer.hxx" +#endif //------------------------------------------------------------------------------ @@ -93,6 +96,10 @@ uno::Reference<backend::XLayer> SAL_CALL KDEBackend::getLayer( { xLayer = new KDEVCLLayer(m_xContext); } + else if( aComponent.equalsAscii("org.openoffice.Office.Paths" ) ) + { + xLayer = new KDEPathsLayer(m_xContext); + } return xLayer; } @@ -142,13 +149,15 @@ uno::Sequence<rtl::OUString> SAL_CALL KDEBackend::getBackendServiceNames(void) uno::Sequence<rtl::OUString> SAL_CALL KDEBackend::getSupportedComponents(void) { - uno::Sequence<rtl::OUString> aSupportedComponentsList(3) ; + uno::Sequence<rtl::OUString> aSupportedComponentsList(4) ; aSupportedComponentsList[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("org.openoffice.VCL")) ; aSupportedComponentsList[1] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Inet")) ; aSupportedComponentsList[2] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.Common")) ; + aSupportedComponentsList[3] = rtl::OUString( + RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.Paths")) ; return aSupportedComponentsList ; } |