INTEGRATION: CWS chart2mst3 (1.38.28); FILE MERGED

2007/02/07 19:48:50 iha 1.38.28.7: RESYNC: (1.45-1.46); FILE MERGED
2006/10/19 10:41:26 bm 1.38.28.6: RESYNC: (1.43-1.45); FILE MERGED
2006/05/05 18:44:44 bm 1.38.28.5: RESYNC: (1.42-1.43); FILE MERGED
2005/10/09 09:12:02 bm 1.38.28.4: RESYNC: (1.40-1.42); FILE MERGED
2005/03/17 11:36:02 bm 1.38.28.3: RESYNC: (1.39-1.40); FILE MERGED
2004/11/02 15:58:11 bm 1.38.28.2: RESYNC: (1.38-1.39); FILE MERGED
2004/09/21 16:50:02 iha 1.38.28.1: make more failsafe against missing formatter
This commit is contained in:
Vladimir Glazounov 2007-05-22 15:10:49 +00:00
parent 6e9b82c5c8
commit b3b2a3413d

View file

@ -4,9 +4,9 @@
*
* $RCSfile: xmlnumfe.cxx,v $
*
* $Revision: 1.46 $
* $Revision: 1.47 $
*
* last change: $Author: ihi $ $Date: 2006-12-19 17:59:41 $
* last change: $Author: vg $ $Date: 2007-05-22 16:10:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -1767,6 +1767,10 @@ OUString SvXMLNumFmtExport::GetStyleName( sal_uInt32 nKey )
void SvXMLNumFmtExport::SetUsed( sal_uInt32 nKey )
{
DBG_ASSERT( pFormatter != NULL, "missing formatter" );
if( !pFormatter )
return;
if (pFormatter->GetEntry(nKey))
pUsedList->SetUsed( nKey );
else