summaryrefslogtreecommitdiff
path: root/svx/source/options/srchcfg.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-03-17 10:51:08 +0000
committerOliver Bolte <obo@openoffice.org>2004-03-17 10:51:08 +0000
commit1f452e94d48831c45bc85ded6485c7962a8233bc (patch)
tree7d5fb74f86a2a34b3ca9ad277a0a7e1a95892677 /svx/source/options/srchcfg.cxx
parent540b8d017a38ada1e0ecbafa4132884fe127fb27 (diff)
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
Diffstat (limited to 'svx/source/options/srchcfg.cxx')
-rw-r--r--svx/source/options/srchcfg.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/svx/source/options/srchcfg.cxx b/svx/source/options/srchcfg.cxx
index 14bd6e393883..02f17cbd9c28 100644
--- a/svx/source/options/srchcfg.cxx
+++ b/svx/source/options/srchcfg.cxx
@@ -2,9 +2,9 @@
*
* $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
* either of the following licenses
@@ -79,6 +79,9 @@
#ifndef _TOOLS_DEBUG_HXX
#include <tools/debug.hxx>
#endif
+#ifndef UNOTOOLS_CONFIGPATHES_HXX_INCLUDED
+#include <unotools/configpathes.hxx>
+#endif
//-----------------------------------------------------------------------------
using namespace utl;
@@ -182,7 +185,7 @@ void SvxSearchConfig::Load()
sal_Int32 nProp;
for(nProp = 0; nProp < rPropNames.getLength(); nProp++)
{
- pPropertyNames[nProp] = pNodeNames[nNode];
+ pPropertyNames[nProp] = wrapConfigurationElementName(pNodeNames[nNode]);
pPropertyNames[nProp] += sSlash;
pPropertyNames[nProp] += pPropNames[nProp];
}
@@ -241,7 +244,7 @@ void SvxSearchConfig::Commit()
for(sal_Int16 nProp = 0; nProp < rPropNames.getLength(); nProp++)
{
OUString sTmpName = sSlash;
- sTmpName += pSave->sEngineName;
+ sTmpName += wrapConfigurationElementName(pSave->sEngineName);
sTmpName += sSlash;
sTmpName += pPropNames[nProp];
pSetValues[nProp].Name = sTmpName;