summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-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;