From 7943752b9e85c44460f3663560b086b6fc26f91e Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 17 Feb 2021 10:18:02 +0200 Subject: loplugin:referencecasting in xmloff Change-Id: Ib601b7045d773ab612569a8fd00d76545dea13af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111055 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/meta/xmlmetai.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source/meta/xmlmetai.cxx') diff --git a/xmloff/source/meta/xmlmetai.cxx b/xmloff/source/meta/xmlmetai.cxx index cf61dba8fab7..a4d67dd92374 100644 --- a/xmloff/source/meta/xmlmetai.cxx +++ b/xmloff/source/meta/xmlmetai.cxx @@ -167,7 +167,7 @@ lcl_initGenerator(SvXMLImport & rImport, xPath->registerNS(GetXMLToken(XML_NP_META), GetXMLToken(XML_N_META)); uno::Reference< xml::xpath::XXPathObject > const xObj( - xPath->eval(xDoc.get(), "string(/office:document-meta/office:meta/meta:generator)"), + xPath->eval(xDoc, "string(/office:document-meta/office:meta/meta:generator)"), uno::UNO_SET_THROW); OUString const value(xObj->getString()); SvXMLMetaDocumentContext::setBuildId(value, rImport.getImportInfo()); -- cgit