diff options
| author | Sascha Ballach <sab@openoffice.org> | 2001-11-26 07:09:54 +0000 |
|---|---|---|
| committer | Sascha Ballach <sab@openoffice.org> | 2001-11-26 07:09:54 +0000 |
| commit | c999ddc5ff99508f41448f7fed7c24b9faa86589 (patch) | |
| tree | 409873592511020dec101f0cfd53506f7fc1c712 /xmloff | |
| parent | 6dd169609901af6fb85e638d630de2286d062f5f (diff) | |
#95130#; removed unneeded lines
Diffstat (limited to 'xmloff')
| -rw-r--r-- | xmloff/source/style/numehelp.cxx | 13 |
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); } |
