summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnume.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-11 10:34:02 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-11 10:34:02 +0000
commita69bc115e3407d455b07ca5ab8055cd434432abd (patch)
tree8d4dea70f1d219c034b3ec049af9af9b90c962c0 /xmloff/source/style/xmlnume.cxx
parentedc25637a077932b501f0ae418fc914868b51085 (diff)
INTEGRATION: CWS num04 (1.19.278); FILE MERGED
2004/04/14 15:03:45 hbrinkm 1.19.278.1: #i23727# numbering indent can be negative
Diffstat (limited to 'xmloff/source/style/xmlnume.cxx')
-rw-r--r--xmloff/source/style/xmlnume.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlnume.cxx b/xmloff/source/style/xmlnume.cxx
index a401d8d940c6..00b2f03d73e4 100644
--- a/xmloff/source/style/xmlnume.cxx
+++ b/xmloff/source/style/xmlnume.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlnume.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: cl $ $Date: 2002-03-01 14:11:09 $
+ * last change: $Author: hr $ $Date: 2004-05-11 11:34:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -422,7 +422,7 @@ void SvxXMLNumRuleExport::exportLevelStyle( INT32 nLevel,
nSpaceBefore += nMinLabelWidth;
nMinLabelWidth = -nMinLabelWidth;
OUStringBuffer sBuffer;
- if( nSpaceBefore > 0 )
+ if( nSpaceBefore != 0 )
{
GetExport().GetMM100UnitConverter().convertMeasure( sBuffer, nSpaceBefore );
GetExport().AddAttribute( XML_NAMESPACE_TEXT, XML_SPACE_BEFORE,