From 29a686ffc902eae5dbd4f354c47479f0e17c19ae Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 16 Jan 2006 14:06:42 +0000 Subject: 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 --- xmloff/source/draw/XMLShapePropertySetContext.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xmloff/source/draw/XMLShapePropertySetContext.cxx') 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; -- cgit