diff options
author | Peter Burow <pb@openoffice.org> | 2000-11-24 07:51:51 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2000-11-24 07:51:51 +0000 |
commit | a5afd567c25c78f4c145ed4ae8e89676f7bdc379 (patch) | |
tree | 7e9036c1e4c2d8b81dd0ab5c86a9bb36cc0e9442 | |
parent | 396a1092a9345fd98263394e96fddf4200b70042 (diff) |
fix: #80590# GetOptions(): put the PathItem into the Set
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index ca6f8be8b19d..a43f11e70884 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: appcfg.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: hr $ $Date: 2000-11-21 12:19:03 $ + * last change: $Author: pb $ $Date: 2000-11-24 08:51:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -612,10 +612,13 @@ BOOL SfxApplication::GetOptions( SfxItemSet& rSet ) case SvtPathOptions::PATH_USERDICTIONARY: aValue = aPathCfg.GetUserDictionaryPath(); break; case SvtPathOptions::PATH_WORK: aValue = aPathCfg.GetWorkPath(); break; } - aValues.InsertValue( nProp, aValue ); } + + if ( rSet.Put(aNames) || rSet.Put(aValues) ) + bRet = TRUE; } + default: DBG_WARNING( "W1:Wrong ID while getting Options!" ); break; |