diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-01-16 14:06:42 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-01-16 14:06:42 +0000 |
commit | 29a686ffc902eae5dbd4f354c47479f0e17c19ae (patch) | |
tree | a7cee5fbc10c15d02d73bd0c57d3b21216b22aaf /xmloff/source/draw | |
parent | 1c3b94c3b46a088a7c5c7e65a335702862e97eb5 (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')
-rw-r--r-- | xmloff/source/draw/XMLShapePropertySetContext.cxx | 7 |
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; |