Kaydet (Commit) 1f452e94 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS os26 (1.5.324); FILE MERGED

2004/01/09 14:16:39 os 1.5.324.1: #112142# search engine names have to be quoted to support non-ASCII characters
üst 540b8d01
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: srchcfg.cxx,v $ * $RCSfile: srchcfg.cxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: vg $ $Date: 2003-05-22 08:58:38 $ * last change: $Author: obo $ $Date: 2004-03-17 11:51:08 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -79,6 +79,9 @@ ...@@ -79,6 +79,9 @@
#ifndef _TOOLS_DEBUG_HXX #ifndef _TOOLS_DEBUG_HXX
#include <tools/debug.hxx> #include <tools/debug.hxx>
#endif #endif
#ifndef UNOTOOLS_CONFIGPATHES_HXX_INCLUDED
#include <unotools/configpathes.hxx>
#endif
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
using namespace utl; using namespace utl;
...@@ -182,7 +185,7 @@ void SvxSearchConfig::Load() ...@@ -182,7 +185,7 @@ void SvxSearchConfig::Load()
sal_Int32 nProp; sal_Int32 nProp;
for(nProp = 0; nProp < rPropNames.getLength(); nProp++) for(nProp = 0; nProp < rPropNames.getLength(); nProp++)
{ {
pPropertyNames[nProp] = pNodeNames[nNode]; pPropertyNames[nProp] = wrapConfigurationElementName(pNodeNames[nNode]);
pPropertyNames[nProp] += sSlash; pPropertyNames[nProp] += sSlash;
pPropertyNames[nProp] += pPropNames[nProp]; pPropertyNames[nProp] += pPropNames[nProp];
} }
...@@ -241,7 +244,7 @@ void SvxSearchConfig::Commit() ...@@ -241,7 +244,7 @@ void SvxSearchConfig::Commit()
for(sal_Int16 nProp = 0; nProp < rPropNames.getLength(); nProp++) for(sal_Int16 nProp = 0; nProp < rPropNames.getLength(); nProp++)
{ {
OUString sTmpName = sSlash; OUString sTmpName = sSlash;
sTmpName += pSave->sEngineName; sTmpName += wrapConfigurationElementName(pSave->sEngineName);
sTmpName += sSlash; sTmpName += sSlash;
sTmpName += pPropNames[nProp]; sTmpName += pPropNames[nProp];
pSetValues[nProp].Name = sTmpName; pSetValues[nProp].Name = sTmpName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment