diff options
author | Christian Lippka <cl@openoffice.org> | 2001-07-24 08:15:16 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-07-24 08:15:16 +0000 |
commit | 9f8a7a133cf5714652c741b1df535f6c2e48a1bc (patch) | |
tree | b638c5f3e993548e2398cf883956334a35425d29 /xmloff | |
parent | de25b4f29493a28276a92698193e2447fd482e2c (diff) |
#89067# don't export empty numberings
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index f89ffd057dcf..c87884bbd5f7 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txtparae.cxx,v $ * - * $Revision: 1.88 $ + * $Revision: 1.89 $ * - * last change: $Author: mtg $ $Date: 2001-07-10 17:57:26 $ + * last change: $Author: cl $ $Date: 2001-07-24 09:15:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -337,7 +337,7 @@ void XMLTextParagraphExport::Add( sal_uInt16 nFamily, aAny = rPropSet->getPropertyValue( sNumberingRules ); Reference < XIndexReplace > xNumRule; aAny >>= xNumRule; - if( xNumRule.is() ) + if( xNumRule.is() && xNumRule->getCount() ) { Reference < XNamed > xNamed( xNumRule, UNO_QUERY ); OUString sName; |