summaryrefslogtreecommitdiff
path: root/xmloff/source/style/numehelp.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-11-26 07:09:54 +0000
committerSascha Ballach <sab@openoffice.org>2001-11-26 07:09:54 +0000
commitc999ddc5ff99508f41448f7fed7c24b9faa86589 (patch)
tree409873592511020dec101f0cfd53506f7fc1c712 /xmloff/source/style/numehelp.cxx
parent6dd169609901af6fb85e638d630de2286d062f5f (diff)
#95130#; removed unneeded lines
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r--xmloff/source/style/numehelp.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx
index e618b24c0e88..69bd2320428d 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: numehelp.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: sab $ $Date: 2001-11-26 08:01:04 $
+ * last change: $Author: sab $ $Date: 2001-11-26 08:09:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -379,12 +379,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(SvXMLExpor
{
if (bExportTypeAttribute)
rXMLExport.AddAttribute(nNamespace, XML_VALUE_TYPE, XML_STRING);
- if (bExportValue && (rValue != rCharacters))
- {
-// rtl::OUString sTemp;
- //SvXMLUnitConverter::clearUndefinedChars(sTemp, rValue);
- if (rValue.getLength())
- rXMLExport.AddAttribute(nNamespace, XML_STRING_VALUE, rValue);
- }
+ if (bExportValue && rValue.getLength() && (rValue != rCharacters))
+ rXMLExport.AddAttribute(nNamespace, XML_STRING_VALUE, rValue);
}