sw/source/filter/xml/xmltbli.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit e9838a1d1de8d9d44fd1bac603a1d29ff97a12ff Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Jun 8 17:40:11 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Jun 9 20:45:16 2021 +0200 -Werror,-Wunused-but-set-variable (Clang 13 trunk) ...since the (only) read of sXmlId got removed with c50357ff625972464d1a591afe4198d3f6f42a39 "loplugin:unusedfields in sw" Change-Id: I609eae60eb0e1d440a47f97b6387c833c1404518 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116855 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 8e72c781ab22..560fe1c81e1f 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -802,7 +802,6 @@ SwXMLTableRowContext_Impl::SwXMLTableRowContext_Impl( SwXMLImport& rImport, nRowRepeat( 1 ) { OUString aStyleName, aDfltCellStyleName; - OUString sXmlId; for( auto& aIter : sax_fastparser::castToFastAttributeList(xAttrList) ) { @@ -825,7 +824,6 @@ SwXMLTableRowContext_Impl::SwXMLTableRowContext_Impl( SwXMLImport& rImport, aDfltCellStyleName = aIter.toString(); break; case XML_ELEMENT(XML, XML_ID): - sXmlId = aIter.toString(); break; default: XMLOFF_WARN_UNKNOWN("sw", aIter); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits