summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/dom/attr.cxx1
-rw-r--r--unoxml/source/dom/documentbuilder.cxx6
2 files changed, 0 insertions, 7 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx
index c7b11e6e06f4..68c5c82a4e6b 100644
--- a/unoxml/source/dom/attr.cxx
+++ b/unoxml/source/dom/attr.cxx
@@ -180,7 +180,6 @@ namespace DOM
OString o1 = OUStringToOString(value, RTL_TEXTENCODING_UTF8);
xmlChar* xValue = (xmlChar*)o1.getStr();
- // xmlChar* xName = OUStringToOString(m_aAttrPtr->name, RTL_TEXTENCODING_UTF8).getStr();
// this does not work if the attribute was created anew
// xmlNodePtr pNode = m_aAttrPtr->parent;
// xmlSetProp(pNode, m_aAttrPtr->name, xValue);
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index e404a1952b8c..bb8477e3eded 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -317,12 +317,6 @@ namespace DOM
::osl::MutexGuard const g(m_Mutex);
- // encoding...
- /*
- xmlChar *encstr = (xmlChar*) OUStringToOString(src.sEncoding, RTL_TEXTENCODING_UTF8).getStr();
- xmlCharEncoding enc = xmlParseCharEncoding(encstr);
- */
-
::boost::shared_ptr<xmlParserCtxt> const pContext(
xmlNewParserCtxt(), xmlFreeParserCtxt);