diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-04-04 16:15:05 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-04-04 16:15:05 +0000 |
commit | dd1a7322c39657a94738f8571ddaa144461216af (patch) | |
tree | 87bc3f126517c98ec2e0d03ef29e57465ed39850 /framework/source | |
parent | 84553884f0082d8bdc73a448ee47538a05da7618 (diff) |
INTEGRATION: CWS fwk01 (1.1.54); FILE MERGED
2003/03/31 05:35:37 as 1.1.54.1: #108488# use encoded path values
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/classes/protocolhandlercache.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/framework/source/classes/protocolhandlercache.cxx b/framework/source/classes/protocolhandlercache.cxx index fa7702567458..b7292a545995 100644 --- a/framework/source/classes/protocolhandlercache.cxx +++ b/framework/source/classes/protocolhandlercache.cxx @@ -2,9 +2,9 @@ * * $RCSfile: protocolhandlercache.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: as $ $Date: 2002-05-02 11:34:58 $ + * last change: $Author: hr $ $Date: 2003-04-04 17:15:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,6 +78,10 @@ // other includes //_________________________________________________________________________________________________________________ +#ifndef UNOTOOLS_CONFIGPATHES_HXX_INCLUDED +#include <unotools/configpathes.hxx> +#endif + //_________________________________________________________________________________________________________________ // namespace //_________________________________________________________________________________________________________________ @@ -267,7 +271,7 @@ void HandlerCFGAccess::read( HandlerHash** ppHandler , PatternHash** ppPattern ) { // list of all uno implementation names without encoding - css::uno::Sequence< ::rtl::OUString > lNames = GetNodeNames( SETNAME_HANDLER, ::utl::CONFIG_NAME_LOCAL_NAME ); + css::uno::Sequence< ::rtl::OUString > lNames = GetNodeNames( SETNAME_HANDLER, ::utl::CONFIG_NAME_LOCAL_PATH ); sal_Int32 nSourceCount = lNames.getLength(); sal_Int32 nTargetCount = nSourceCount; // list of all full qualified path names of configuration entries @@ -300,7 +304,7 @@ void HandlerCFGAccess::read( HandlerHash** ppHandler , { // create it new for every loop to guarantee a real empty object! ProtocolHandler aHandler; - aHandler.m_sUNOName = lNames[nSource]; + aHandler.m_sUNOName = ::utl::extractFirstFromConfigurationPath(lNames[nSource]); // unpack all values of this handler css::uno::Sequence< ::rtl::OUString > lTemp; |