summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-08 17:40:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-09 20:45:16 +0200
commite9838a1d1de8d9d44fd1bac603a1d29ff97a12ff (patch)
treeadd540e691db68ce42540109b4a9b26119eb450a /sw/source
parenta74dab375e894c3b87f5279cd7c43c26e4c79bb4 (diff)
-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.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
1 files changed, 0 insertions, 2 deletions
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);