INTEGRATION: CWS xmlfilter05 (1.18.228); FILE MERGED

2008/05/02 10:45:05 hbrinkm 1.18.228.2: RESYNC: (1.18-1.19); FILE MERGED
2008/04/14 11:59:46 os 1.18.228.1: CustomFields: changes from and improvements to i86131
This commit is contained in:
Vladimir Glazounov 2008-07-01 10:29:31 +00:00
parent dfee312ed6
commit 4107e1b522

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fldpage.cxx,v $
* $Revision: 1.19 $
* $Revision: 1.20 $
*
* This file is part of OpenOffice.org.
*
@ -60,7 +60,7 @@
#ifndef _FLDPAGE_HXX
#include <fldpage.hxx>
#endif
#include <docufld.hxx>
#ifndef _CMDID_H
#include <cmdid.h>
#endif
@ -302,6 +302,15 @@ BOOL SwFldPage::InsertFld(USHORT nTypeId, USHORT nSubType, const String& rPar1,
}
}
break;
case TYP_DOCINFOFLD:
{
if( nSubType == nsSwDocInfoSubType::DI_CUSTOM )
{
SwDocInfoField* pDocInfo = static_cast<SwDocInfoField*>( pTmpFld );
pDocInfo->SetName( rPar1 );
}
}
break;
}
pSh->StartAllAction();