IniManager removed

This commit is contained in:
Kai Ahrens 2000-11-13 08:58:07 +00:00
parent 3b040717aa
commit 89e72e043a
3 changed files with 10 additions and 11 deletions

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: sdmod2.cxx,v $ * $RCSfile: sdmod2.cxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: ka $ $Date: 2000-11-10 16:45:32 $ * last change: $Author: ka $ $Date: 2000-11-13 09:58:07 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -99,7 +99,6 @@
#include <sfx2/request.hxx> #include <sfx2/request.hxx>
#endif #endif
#include <sfx2/inimgr.hxx>
#include <svx/svdfield.hxx> #include <svx/svdfield.hxx>
#define ITEMID_SPELLCHECK 0 #define ITEMID_SPELLCHECK 0
@ -229,7 +228,7 @@ IMPL_LINK(SdModule, CalcFieldValueHdl, EditFieldInfo*, pInfo)
aAuthor = pAuthorField->GetFormatted(); aAuthor = pAuthorField->GetFormatted();
else else
{ {
SvxAddressItem aAdrItem( *SFX_INIMANAGER() ); SvxAddressItem aAdrItem;
SvxAuthorField aAuthorField( aAdrItem, pAuthorField->GetType(), SvxAuthorField aAuthorField( aAdrItem, pAuthorField->GetType(),
pAuthorField->GetFormat() ); pAuthorField->GetFormat() );
aAuthor = aAuthorField.GetFormatted(); aAuthor = aAuthorField.GetFormatted();
@ -572,7 +571,7 @@ void SdModule::ApplyItemSet( USHORT nSlot, const SfxItemSet& rSet )
//!!! const weg-casten, da Store nicht-const: //!!! const weg-casten, da Store nicht-const:
if ( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_ADDRESS, TRUE, &pItem ) ) if ( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_ADDRESS, TRUE, &pItem ) )
{ {
((SfxAddressItem*)pItem)->Store( *SFX_INIMANAGER() ); ((SfxAddressItem*)pItem)->Store();
} }
SdOptions* pOptions = GetSdOptions(eDocType); SdOptions* pOptions = GetSdOptions(eDocType);

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: drviewsb.cxx,v $ * $RCSfile: drviewsb.cxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: aw $ $Date: 2000-10-30 11:50:43 $ * last change: $Author: ka $ $Date: 2000-11-13 09:57:34 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -513,7 +513,7 @@ void SdDrawViewShell::FuTemp02(SfxRequest& rReq)
case SID_INSERT_FLD_AUTHOR: case SID_INSERT_FLD_AUTHOR:
{ {
SvxAddressItem aAdrItem( *SFX_INIMANAGER() ); SvxAddressItem aAdrItem;
pFieldItem = new SvxFieldItem( SvxAuthorField( aAdrItem ) ); pFieldItem = new SvxFieldItem( SvxAuthorField( aAdrItem ) );
} }
break; break;

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: outlnvs2.cxx,v $ * $RCSfile: outlnvs2.cxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: ka $ $Date: 2000-09-21 16:12:20 $ * last change: $Author: ka $ $Date: 2000-11-13 09:57:09 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -491,7 +491,7 @@ void SdOutlineViewShell::FuTemporary(SfxRequest &rReq)
case SID_INSERT_FLD_AUTHOR: case SID_INSERT_FLD_AUTHOR:
{ {
SvxAddressItem aAdrItem( *SFX_INIMANAGER() ); SvxAddressItem aAdrItem;
pFieldItem = new SvxFieldItem( SvxAuthorField( aAdrItem ) ); pFieldItem = new SvxFieldItem( SvxAuthorField( aAdrItem ) );
} }
break; break;