diff options
author | Dirk Grobler <dg@openoffice.org> | 2001-06-22 10:49:59 +0000 |
---|---|---|
committer | Dirk Grobler <dg@openoffice.org> | 2001-06-22 10:49:59 +0000 |
commit | d53b6ac42fe19cffda83c80e70f46c600f9a77b0 (patch) | |
tree | 2193cf84e1050a26f4c81c0a08332a0fa9c357de /svx | |
parent | eeaa788720af73139518299e45da49dbc6bd28ef (diff) |
#88512# changes for TF_CFGDATA
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/options/srchcfg.cxx | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/svx/source/options/srchcfg.cxx b/svx/source/options/srchcfg.cxx index 9af85dd4c508..bd74f6e6507a 100644 --- a/svx/source/options/srchcfg.cxx +++ b/svx/source/options/srchcfg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: srchcfg.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: os $ $Date: 2001-03-30 13:21:15 $ + * last change: $Author: dg $ $Date: 2001-06-22 11:49:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,6 +127,20 @@ const Sequence<OUString>& lcl_GetSearchPropertyNames_Impl() { aNames.realloc(12); OUString* pNames = aNames.getArray(); +#ifdef TF_CFGDATA + pNames[0] = C2U("And/ooInetPrefix"); + pNames[1] = C2U("And/ooInetSuffix"); + pNames[2] = C2U("And/ooInetSeparator"); + pNames[3] = C2U("And/ooInetCaseMatch"); + pNames[4] = C2U("Or/ooInetPrefix"); + pNames[5] = C2U("Or/ooInetSuffix"); + pNames[6] = C2U("Or/ooInetSeparator"); + pNames[7] = C2U("Or/ooInetCaseMatch"); + pNames[8] = C2U("Exact/ooInetPrefix"); + pNames[9] = C2U("Exact/ooInetSuffix"); + pNames[10] = C2U("Exact/ooInetSeparator"); + pNames[11] = C2U("Exact/ooInetCaseMatch"); +#else pNames[0] = C2U("And/Prefix"); pNames[1] = C2U("And/Suffix"); pNames[2] = C2U("And/Separator"); @@ -139,12 +153,17 @@ const Sequence<OUString>& lcl_GetSearchPropertyNames_Impl() pNames[9] = C2U("Exact/Suffix"); pNames[10] = C2U("Exact/Separator"); pNames[11] = C2U("Exact/CaseMatch"); +#endif } return aNames; } // --------------------------------------------------------------------------- SvxSearchConfig::SvxSearchConfig(sal_Bool bEnableNotify) : +#ifdef TF_CFGDATA + utl::ConfigItem(C2U("Inet/SearchEngines"), CONFIG_MODE_DELAYED_UPDATE), +#else utl::ConfigItem(C2U("Inet/Search/SearchEngines"), CONFIG_MODE_DELAYED_UPDATE), +#endif pImpl(new SvxSearchConfig_Impl) { if(bEnableNotify) |