From a214369f14d3f53d45b1889827057882c0ffd62e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 17 Dec 2021 14:38:44 +0200 Subject: loplugin:unusedvariablecheck improve to find unused smart pointer variables Change-Id: I200bdd8949032a0e061de61f7903a156651793e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127006 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/text/XMLTextShapeStyleContext.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'xmloff/source/text/XMLTextShapeStyleContext.cxx') diff --git a/xmloff/source/text/XMLTextShapeStyleContext.cxx b/xmloff/source/text/XMLTextShapeStyleContext.cxx index 7bc12c2f9773..81df6cf85d6b 100644 --- a/xmloff/source/text/XMLTextShapeStyleContext.cxx +++ b/xmloff/source/text/XMLTextShapeStyleContext.cxx @@ -80,8 +80,6 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > XMLTextShapePropertySe ::std::vector< XMLPropertyState > &rProperties, const XMLPropertyState& rProp ) { - SvXMLImportContextRef xContext; - switch( mxMapper->getPropertySetMapper() ->GetEntryContextId( rProp.mnIndex ) ) { -- cgit