From c24f4da11726dacb98d97c7939a2114a67d5be0a Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 29 Apr 2004 15:15:02 +0000 Subject: INTEGRATION: CWS os12 (1.5.174); FILE MERGED 2004/02/19 22:01:38 os 1.5.174.2: RESYNC: (1.5-1.7); FILE MERGED 2003/07/09 13:07:28 os 1.5.174.1: #103299# SvxAddressItem removed --- sd/source/ui/app/sdpopup.cxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sd/source/ui/app/sdpopup.cxx') diff --git a/sd/source/ui/app/sdpopup.cxx b/sd/source/ui/app/sdpopup.cxx index 0d0a5e681cf6..f0d2eb8363ef 100644 --- a/sd/source/ui/app/sdpopup.cxx +++ b/sd/source/ui/app/sdpopup.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sdpopup.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obo $ $Date: 2004-01-20 10:37:46 $ + * last change: $Author: obo $ $Date: 2004-04-29 16:15:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -71,15 +71,15 @@ #ifndef _ZFORLIST_HXX #include #endif -#ifndef _SVX_ADRITEM_HXX -#include -#endif #ifndef _SFX_OBJSH_HXX #include #endif #ifndef _SFXDOCFILE_HXX #include #endif +#ifndef INCLUDED_SVTOOLS_USEROPTIONS_HXX +#include +#endif #include "strings.hrc" #include "sdpopup.hxx" @@ -371,7 +371,8 @@ SvxFieldData* SdFieldPopup::GetField() pAuthorField->GetType() != eType ) { // #91225# Get current state of address, not the old one - pNewField = new SvxAuthorField( SvxAddressItem() ); + SvtUserOptions aUserOptions; + pNewField = new SvxAuthorField( aUserOptions.GetFirstName(), aUserOptions.GetLastName(), aUserOptions.GetID() ); ( (SvxAuthorField*) pNewField )->SetType( eType ); ( (SvxAuthorField*) pNewField )->SetFormat( eFormat ); } -- cgit