summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-06-21 08:41:48 +0000
committerSascha Ballach <sab@openoffice.org>2001-06-21 08:41:48 +0000
commitdd500cb0450fb6a57c310a923676f39996a5435b (patch)
tree2983e196ac330076b460283dfeea61d445546cff /xmloff/source/style
parentf8546cdb5de0c788933bfee86659c3e1c56af4e8 (diff)
#88521#; remove special handling of ' characters at the beginning of strings
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/numehelp.cxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx
index 216e698742c2..ba9d14fc4216 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: numehelp.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: dvo $ $Date: 2001-06-12 16:32:05 $
+ * last change: $Author: sab $ $Date: 2001-06-21 09:41:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -379,13 +379,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(SvXMLExpor
{
if (bExportTypeAttribute)
rXMLExport.AddAttribute(nNamespace, XML_VALUE_TYPE, XML_STRING);
- if (bExportValue)
- {
- if (rValue != rCharacters)
- {
- if (!(rValue[0] == '\'' && (rValue.getLength() == rCharacters.getLength() + 1)))
- rXMLExport.AddAttribute(nNamespace, XML_STRING_VALUE, rValue);
- }
- }
+ if (bExportValue && (rValue != rCharacters))
+ rXMLExport.AddAttribute(nNamespace, XML_STRING_VALUE, rValue);
}