-Werror,-Wunused-but-set-variable (Clang 13 trunk)
...since the (only) read of sXmlId got removed with
c50357ff62
"loplugin:unusedfields in sw"
Change-Id: I609eae60eb0e1d440a47f97b6387c833c1404518
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116855
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
a74dab375e
commit
e9838a1d1d
@@ -802,7 +802,6 @@ SwXMLTableRowContext_Impl::SwXMLTableRowContext_Impl( SwXMLImport& rImport,
|
|||||||
nRowRepeat( 1 )
|
nRowRepeat( 1 )
|
||||||
{
|
{
|
||||||
OUString aStyleName, aDfltCellStyleName;
|
OUString aStyleName, aDfltCellStyleName;
|
||||||
OUString sXmlId;
|
|
||||||
|
|
||||||
for( auto& aIter : sax_fastparser::castToFastAttributeList(xAttrList) )
|
for( auto& aIter : sax_fastparser::castToFastAttributeList(xAttrList) )
|
||||||
{
|
{
|
||||||
@@ -825,7 +824,6 @@ SwXMLTableRowContext_Impl::SwXMLTableRowContext_Impl( SwXMLImport& rImport,
|
|||||||
aDfltCellStyleName = aIter.toString();
|
aDfltCellStyleName = aIter.toString();
|
||||||
break;
|
break;
|
||||||
case XML_ELEMENT(XML, XML_ID):
|
case XML_ELEMENT(XML, XML_ID):
|
||||||
sXmlId = aIter.toString();
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
XMLOFF_WARN_UNKNOWN("sw", aIter);
|
XMLOFF_WARN_UNKNOWN("sw", aIter);
|
||||||
|
Reference in New Issue
Block a user