summaryrefslogtreecommitdiff
path: root/desktop/source/migration/services
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 14:03:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 14:52:24 +0200
commit2ec1c7a69917ce39850addc49ea3eb8618869aac (patch)
treea61d4a597f6293245e4b85b22552f408c0086091 /desktop/source/migration/services
parent0a4e138d3ac3609f2e1465c8a949d07eb89bccf0 (diff)
loplugin:referencecasting in desktop
Change-Id: I9ba4243bc3d6b14e66694728deb270ed74a70d01 Reviewed-on: https://gerrit.libreoffice.org/75949 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/migration/services')
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx
index b04b7d2e108a..a001462afd62 100644
--- a/desktop/source/migration/services/oo3extensionmigration.cxx
+++ b/desktop/source/migration/services/oo3extensionmigration.cxx
@@ -195,10 +195,9 @@ bool OO3ExtensionMigration::scanDescriptionXml( const OUString& sDescriptionXmlU
try
{
- uno::Reference< xml::dom::XNode > xRootNode( xRoot, uno::UNO_QUERY );
uno::Reference< xml::dom::XNode > xNode(
xPath->selectSingleNode(
- xRootNode, "desc:identifier/@value" ));
+ xRoot, "desc:identifier/@value" ));
if ( xNode.is() )
aExtIdentifier = xNode->getNodeValue();
}