diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-05-22 15:10:49 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-05-22 15:10:49 +0000 |
commit | b3b2a3413d94b6ebb8d47aff17e8770abea6e87f (patch) | |
tree | 53f6b5392466fe509bb72e2ad23d83537edacd40 /xmloff | |
parent | 6e9b82c5c828e24df193d8e2a687ddb72b53b3b8 (diff) |
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
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index 80492cde92b3..e044efff28cf 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -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 |