diff options
-rw-r--r-- | include/sfx2/sfxsids.hrc | 1 | ||||
-rw-r--r-- | sfx2/inc/app.hrc | 2 | ||||
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 5 |
3 files changed, 1 insertions, 7 deletions
diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc index 3384b0558287..78f2ab27f1a3 100644 --- a/include/sfx2/sfxsids.hrc +++ b/include/sfx2/sfxsids.hrc @@ -470,7 +470,6 @@ #define SID_ATTR_APPLYCHARUNIT (SID_OPTIONS_START + 88) // PathTabPage -#define SID_ATTR_PATHGROUP (SID_OPTIONS_START + 10) #define SID_ATTR_PATHNAME (SID_OPTIONS_START + 11) // LinguTabPage diff --git a/sfx2/inc/app.hrc b/sfx2/inc/app.hrc index 2a6f592816a4..aa6f54351ab2 100644 --- a/sfx2/inc/app.hrc +++ b/sfx2/inc/app.hrc @@ -30,8 +30,6 @@ #define RID_STR_HELP (RID_SFX_APP_START+79) -#define CONFIG_PATH_START (RID_SFX_APP_START+98) - #define STR_INFO_NOSEARCHRESULTS (RID_SFX_APP_START+106) #define STR_INFO_NOSEARCHTEXTFOUND (RID_SFX_APP_START+107) diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index c539b659e3ca..30df815ce39d 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -410,15 +410,12 @@ void SfxApplication::GetOptions( SfxItemSet& rSet ) } break; case SID_ATTR_PATHNAME : - case SID_ATTR_PATHGROUP : { - SfxAllEnumItem aNames(rPool.GetWhich(SID_ATTR_PATHGROUP)); SfxAllEnumItem aValues(rPool.GetWhich(SID_ATTR_PATHNAME)); SvtPathOptions aPathCfg; for ( sal_uInt16 nProp = SvtPathOptions::PATH_ADDIN; nProp <= SvtPathOptions::PATH_WORK; nProp++ ) { - aNames.InsertValue( nProp, SfxResId(CONFIG_PATH_START + nProp) ); OUString aValue; switch ( nProp ) { @@ -448,7 +445,7 @@ void SfxApplication::GetOptions( SfxItemSet& rSet ) aValues.InsertValue( nProp, aValue ); } - if ( rSet.Put(aNames) || rSet.Put(aValues) ) + if (rSet.Put(aValues)) bRet = true; } break; |