summaryrefslogtreecommitdiff
path: root/sax/source/fastparser/legacyfastparser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source/fastparser/legacyfastparser.cxx')
-rw-r--r--sax/source/fastparser/legacyfastparser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sax/source/fastparser/legacyfastparser.cxx b/sax/source/fastparser/legacyfastparser.cxx
index e4c425bd07d3..62e7b8a57a88 100644
--- a/sax/source/fastparser/legacyfastparser.cxx
+++ b/sax/source/fastparser/legacyfastparser.cxx
@@ -75,7 +75,7 @@ void NamespaceHandler::addNSDeclAttributes( rtl::Reference < comphelper::Attribu
sDecl = "xmlns";
else
sDecl = "xmlns:" + rPrefix;
- rAttrList->AddAttribute( sDecl, "CDATA", rNamespaceURI );
+ rAttrList->AddAttribute( sDecl, rNamespaceURI );
}
m_aNamespaceDefines.clear();
}
@@ -233,7 +233,7 @@ void SAL_CALL CallbackDocumentHandler::startUnknownElement( const OUString& /*Na
if ( !rAttrNamespacePrefix.isEmpty() )
sAttrName = rAttrNamespacePrefix + aNamespaceSeparator + sAttrName;
- rAttrList->AddAttribute( sAttrName, "CDATA", rAttrValue );
+ rAttrList->AddAttribute( sAttrName, rAttrValue );
}
const Sequence< xml::Attribute > unknownAttribs = Attribs->getUnknownAttributes();
@@ -242,7 +242,7 @@ void SAL_CALL CallbackDocumentHandler::startUnknownElement( const OUString& /*Na
const OUString& rAttrValue = rAttr.Value;
const OUString& rAttrName = rAttr.Name;
- rAttrList->AddAttribute( rAttrName, "CDATA", rAttrValue );
+ rAttrList->AddAttribute( rAttrName, rAttrValue );
}
m_xDocumentHandler->startElement( Name, rAttrList );
}