diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-02-24 20:13:06 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2013-02-24 21:16:12 +0000 |
commit | ed383ebfbae4c79c870389868762767b16f444ee (patch) | |
tree | f84635927434981df9d5d6fc4b19bd2d65205daf /unoxml | |
parent | c064fa5048b09eb50fc90cef4364986ec58bd3eb (diff) |
remove RTL_CONSTASCII_(U)STRINGPARAM
Change-Id: Ica4dc859229c2ba0dc052a97ff23178895c25580
Reviewed-on: https://gerrit.libreoffice.org/2368
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/attr.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/attributesmap.cxx | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx index e116950ae01a..dc2ef6eadc19 100644 --- a/unoxml/source/dom/attr.cxx +++ b/unoxml/source/dom/attr.cxx @@ -197,7 +197,7 @@ namespace DOM // dispatch DOM events to signal change in attribute value // dispatch DomAttrModified + DOMSubtreeModified - OUString sEventName( RTL_CONSTASCII_USTRINGPARAM("DOMAttrModified") ); + OUString sEventName( "DOMAttrModified" ); Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY); Reference< XMutationEvent > event(docevent->createEvent(sEventName),UNO_QUERY); event->initMutationEvent( diff --git a/unoxml/source/dom/attributesmap.cxx b/unoxml/source/dom/attributesmap.cxx index d0508f7af3f6..9c93f24a2d20 100644 --- a/unoxml/source/dom/attributesmap.cxx +++ b/unoxml/source/dom/attributesmap.cxx @@ -162,8 +162,8 @@ namespace DOM // no MutexGuard needed: m_pElement is const Reference< XAttr > const xAttr(m_pElement->getAttributeNode(name)); if (!xAttr.is()) { - throw DOMException(OUString(RTL_CONSTASCII_USTRINGPARAM( - "CAttributesMap::removeNamedItem: no such attribute")), + throw DOMException(OUString( + "CAttributesMap::removeNamedItem: no such attribute"), static_cast<OWeakObject*>(this), DOMExceptionType_NOT_FOUND_ERR); } @@ -184,8 +184,8 @@ namespace DOM Reference< XAttr > const xAttr( m_pElement->getAttributeNodeNS(namespaceURI, localName)); if (!xAttr.is()) { - throw DOMException(OUString(RTL_CONSTASCII_USTRINGPARAM( - "CAttributesMap::removeNamedItemNS: no such attribute")), + throw DOMException(OUString( + "CAttributesMap::removeNamedItemNS: no such attribute"), static_cast<OWeakObject*>(this), DOMExceptionType_NOT_FOUND_ERR); } @@ -203,8 +203,8 @@ namespace DOM { Reference< XAttr > const xAttr(xNode, UNO_QUERY); if (!xNode.is()) { - throw DOMException(OUString(RTL_CONSTASCII_USTRINGPARAM( - "CAttributesMap::setNamedItem: XAttr argument expected")), + throw DOMException(OUString( + "CAttributesMap::setNamedItem: XAttr argument expected"), static_cast<OWeakObject*>(this), DOMExceptionType_HIERARCHY_REQUEST_ERR); } @@ -223,8 +223,8 @@ namespace DOM { Reference< XAttr > const xAttr(xNode, UNO_QUERY); if (!xNode.is()) { - throw DOMException(OUString(RTL_CONSTASCII_USTRINGPARAM( - "CAttributesMap::setNamedItemNS: XAttr argument expected")), + throw DOMException(OUString( + "CAttributesMap::setNamedItemNS: XAttr argument expected"), static_cast<OWeakObject*>(this), DOMExceptionType_HIERARCHY_REQUEST_ERR); } |