summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/XMLShapePropertySetContext.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-01-16 14:06:42 +0000
committerOliver Bolte <obo@openoffice.org>2006-01-16 14:06:42 +0000
commit29a686ffc902eae5dbd4f354c47479f0e17c19ae (patch)
treea7cee5fbc10c15d02d73bd0c57d3b21216b22aaf /xmloff/source/draw/XMLShapePropertySetContext.cxx
parent1c3b94c3b46a088a7c5c7e65a335702862e97eb5 (diff)
INTEGRATION: CWS impress81 (1.4.64); FILE MERGED
2005/12/29 14:56:52 cl 1.4.64.1: #120711# check if numbering rule exists
Diffstat (limited to 'xmloff/source/draw/XMLShapePropertySetContext.cxx')
-rw-r--r--xmloff/source/draw/XMLShapePropertySetContext.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmloff/source/draw/XMLShapePropertySetContext.cxx b/xmloff/source/draw/XMLShapePropertySetContext.cxx
index 88095cd388a0..60e7e883b1de 100644
--- a/xmloff/source/draw/XMLShapePropertySetContext.cxx
+++ b/xmloff/source/draw/XMLShapePropertySetContext.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLShapePropertySetContext.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 13:42:07 $
+ * last change: $Author: obo $ $Date: 2006-01-16 15:06:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -85,7 +85,8 @@ void XMLShapePropertySetContext::EndElement()
{
SvxXMLListStyleContext* pBulletStyle = (SvxXMLListStyleContext*)&mxBulletStyle;
xNumRule = pBulletStyle->CreateNumRule( GetImport().GetModel() );
- pBulletStyle->FillUnoNumRule(xNumRule, NULL /* const SvI18NMap * ??? */ );
+ if( xNumRule.is() )
+ pBulletStyle->FillUnoNumRule(xNumRule, NULL /* const SvI18NMap * ??? */ );
}
Any aAny;