summaryrefslogtreecommitdiff
path: root/extensions/source/update
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-15 19:58:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-16 07:52:37 +0100
commit7767ff7b521b7d43a1ea2a4fd19a64bd171da5e0 (patch)
tree55ffa9447129048f87a52d61bbad124051406794 /extensions/source/update
parent51558d2215a4cf881e357eda7da20688ac61e780 (diff)
loplugin:referencecasting in editeng..framework
Change-Id: Ia3375011ecd0a65afed0f131f477fc1542603fde Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110948 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/update')
-rw-r--r--extensions/source/update/feed/updatefeed.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 153233bbb67c..142bd301cffa 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -524,7 +524,7 @@ UpdateInformationProvider::getDocumentRoot(const uno::Reference< xml::dom::XNode
* seems to evaluate expression always relative to the root node.
*/
uno::Reference< xml::dom::XDocument > xUpdateXML = m_xDocumentBuilder->newDocument();
- xUpdateXML->appendChild( xUpdateXML->importNode(xChildElement.get(), true ) );
+ xUpdateXML->appendChild( xUpdateXML->importNode(xChildElement, true ) );
return xUpdateXML->getDocumentElement();
}
}
@@ -582,7 +582,7 @@ UpdateInformationProvider::getUpdateInformationEnumeration(
uno::Reference< xml::dom::XNodeList > xNodeList;
try {
- xNodeList = m_xXPathAPI->selectNodeList(xDocument.get(),
+ xNodeList = m_xXPathAPI->selectNodeList(xDocument,
aXPathExpression);
} catch (const xml::xpath::XPathException &) {
// ignore