summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2000-11-01 17:26:36 +0000
committerNiklas Nebel <nn@openoffice.org>2000-11-01 17:26:36 +0000
commit6bfc73d081a723a61c0c587b19c02c958fe85fe0 (patch)
tree06a655ae3fb57536acf05684e254a7b447428b47 /xmloff
parent1bbb78e8228032bf21e796e80a9d181af8ec2d57 (diff)
#79611# format type 0 (no recognized elements) is handled by number-style
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 898093014b1f..a3d2234024c2 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlnumfe.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: sab $ $Date: 2000-10-24 10:41:04 $
+ * last change: $Author: nn $ $Date: 2000-11-01 18:26:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -769,7 +769,9 @@ void SvXMLNumFmtExport::ExportPart_Impl( SvNumberformat& rFormat, sal_uInt32 nKe
OUString sType;
switch ( nFmtType )
{
-//! case 0: // may occur in imported documents (?)
+ // type is 0 if a format contains no recognized elements
+ // (like text only) - this is handled as a number-style.
+ case 0:
case NUMBERFORMAT_NUMBER:
case NUMBERFORMAT_SCIENTIFIC:
case NUMBERFORMAT_FRACTION: