summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx8
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