summaryrefslogtreecommitdiffstats
path: root/unoxml/source/dom
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom')
-rw-r--r--unoxml/source/dom/element.cxx21
-rw-r--r--unoxml/source/dom/element.hxx6
2 files changed, 0 insertions, 27 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx
index b99eb6dfb212..eda6a419ebfc 100644
--- a/unoxml/source/dom/element.cxx
+++ b/unoxml/source/dom/element.cxx
@@ -768,27 +768,6 @@ namespace DOM
{
return OUString();
}
-
- void SAL_CALL CElement::setElementName(const OUString& aName)
- throw (RuntimeException, DOMException)
- {
- if (aName.isEmpty() || (0 <= aName.indexOf(':')))
- {
- DOMException e;
- e.Code = DOMExceptionType_INVALID_CHARACTER_ERR;
- throw e;
- }
-
- ::osl::MutexGuard const g(m_rMutex);
-
- if (0 == m_aNodePtr) {
- throw RuntimeException();
- }
- OString oName = OUStringToOString(aName, RTL_TEXTENCODING_UTF8);
- xmlChar const *xName = reinterpret_cast<xmlChar const *>(oName.getStr());
- xmlNodeSetName(m_aNodePtr, xName);
- }
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoxml/source/dom/element.hxx b/unoxml/source/dom/element.hxx
index 59f105646c10..8afbc4286bab 100644
--- a/unoxml/source/dom/element.hxx
+++ b/unoxml/source/dom/element.hxx
@@ -159,12 +159,6 @@ namespace DOM
const OUString& namespaceURI, const OUString& qualifiedName, const OUString& value)
throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) SAL_OVERRIDE;
- /**
- sets the element name
- */
- void SAL_CALL setElementName(const OUString& elementName)
- throw (css::uno::RuntimeException, css::xml::dom::DOMException);
-
// overrides for XNode base
virtual OUString SAL_CALL getNodeName()
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;