summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-15 11:06:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-16 09:04:08 +0100
commit0a9fa3d840da1ba224397fddd6a09852d7121701 (patch)
tree7712687d35e8504cc9535814458feea8b082a12f /xmloff
parent2b4d91f5a3738e0b71583769b3a69d6a6211d7ca (diff)
ditch some junk
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/xmloff/xmlkywd.hxx1
-rw-r--r--xmloff/source/core/xmlexp.cxx3
2 files changed, 0 insertions, 4 deletions
diff --git a/xmloff/inc/xmloff/xmlkywd.hxx b/xmloff/inc/xmloff/xmlkywd.hxx
index bce52d875b52..95f6cb0b10c3 100644
--- a/xmloff/inc/xmloff/xmlkywd.hxx
+++ b/xmloff/inc/xmloff/xmlkywd.hxx
@@ -56,7 +56,6 @@ XML_CONSTASCII_ACTION( sXML_CDATA, "CDATA" );
XML_CONSTASCII_ACTION( sXML_WS, " " );
XML_CONSTASCII_ACTION( sXML_xml, "xml" );
XML_CONSTASCII_ACTION( sXML_xmlns, "xmlns" );
-XML_CONSTASCII_ACTION( sXML_xml_pi, "version=\"1.0\" encoding=\"UTF-8\"" );
XML_CONSTASCII_ACTION( sXML_xml_doctype_prefix, "<!DOCTYPE " );
XML_CONSTASCII_ACTION( sXML_xml_doctype_suffix, " PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"office.dtd\">" );
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 3002548674df..1498d48d9584 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -1369,9 +1369,6 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
mxHandler->startDocument();
- // <?xml version="1.0" encoding="UTF-8"?>
-// xHandler->processingInstruction( S2U( sXML_xml ), S2U( sXML_xml_pi ) );
-
// <office:document ...>
CheckAttrList();