diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-10 12:29:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-11 07:01:05 +0100 |
commit | 71a61ab2d8b650ebe0655cebd7233959a5a3811e (patch) | |
tree | 80cc6403e59e77853b0f40b4f49bc9ba9950f432 /unoxml | |
parent | 30e99b793fc26d2c86363bf8c023cdd2c05940b1 (diff) |
loplugin:indentation in unotools..vbahelper
Change-Id: I76de5678dd21f207e9e9c2a0c446f2c0b9be974e
Reviewed-on: https://gerrit.libreoffice.org/67609
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/document.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/entity.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/entityreference.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/node.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/notation.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/saxbuilder.cxx | 6 |
6 files changed, 8 insertions, 8 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx index c05e0a0b6b21..7380bcdc4a9b 100644 --- a/unoxml/source/dom/document.cxx +++ b/unoxml/source/dom/document.cxx @@ -659,7 +659,7 @@ namespace DOM if (result != nullptr) return result; result = lcl_search_element_by_id(cur->next, id); - return result; + return result; } // Returns the Element whose ID is given by elementId. diff --git a/unoxml/source/dom/entity.cxx b/unoxml/source/dom/entity.cxx index cbea7bd362b6..74b1faaf7e75 100644 --- a/unoxml/source/dom/entity.cxx +++ b/unoxml/source/dom/entity.cxx @@ -95,7 +95,7 @@ namespace DOM { ::osl::MutexGuard const g(m_rMutex); - OUString aName; + OUString aName; if (m_aNodePtr != nullptr) { const xmlChar* pName = m_aNodePtr->name; diff --git a/unoxml/source/dom/entityreference.cxx b/unoxml/source/dom/entityreference.cxx index 4b328cc2ee46..f94496d7b705 100644 --- a/unoxml/source/dom/entityreference.cxx +++ b/unoxml/source/dom/entityreference.cxx @@ -53,7 +53,7 @@ namespace DOM { ::osl::MutexGuard const g(m_rMutex); - OUString aName; + OUString aName; if (m_aNodePtr != nullptr) { const xmlChar* pName = m_aNodePtr->name; diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index c77b761bbf1a..73e2b5985f48 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -783,7 +783,7 @@ namespace DOM Reference< XDocumentEvent > docevent(getOwnerDocument(), UNO_QUERY); Reference< XMutationEvent > event(docevent->createEvent( "DOMNodeRemoved"), UNO_QUERY); - event->initMutationEvent("DOMNodeRemoved", + event->initMutationEvent("DOMNodeRemoved", true, false, this, diff --git a/unoxml/source/dom/notation.cxx b/unoxml/source/dom/notation.cxx index dd94509f3028..352d5b0029f1 100644 --- a/unoxml/source/dom/notation.cxx +++ b/unoxml/source/dom/notation.cxx @@ -57,7 +57,7 @@ namespace DOM { ::osl::MutexGuard const g(m_rMutex); - OUString aName; + OUString aName; if (m_aNodePtr != nullptr) { const xmlChar* pName = m_aNodePtr->name; diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx index a6e189b4b475..a8d1210c9c83 100644 --- a/unoxml/source/dom/saxbuilder.cxx +++ b/unoxml/source/dom/saxbuilder.cxx @@ -359,12 +359,12 @@ namespace DOM ::osl::MutexGuard g(m_Mutex); // append text node to the current top element - if (m_aState != SAXDocumentBuilderState_BUILDING_DOCUMENT && + if (m_aState != SAXDocumentBuilderState_BUILDING_DOCUMENT && m_aState != SAXDocumentBuilderState_BUILDING_FRAGMENT) throw SAXException(); - Reference< XText > aText = m_aDocument->createTextNode(rChars); - m_aNodeStack.top()->appendChild(aText); + Reference< XText > aText = m_aDocument->createTextNode(rChars); + m_aNodeStack.top()->appendChild(aText); } } |