diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-25 17:49:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-26 08:01:42 +0100 |
commit | 51b5b93092d6231615de470c62494c24e54828a1 (patch) | |
tree | 7d1556d834a9f61e0f40f29f318c57328cba67e7 /sw/source/filter | |
parent | b9fe4f26eaf1099b8d0907b8d9cbf52c86914466 (diff) |
remove some unused local vars
found by a more aggressive variant of loplugin:unusedvariables.
This is my first pass, committing the simplest and most obviously
unnecessary vars
Change-Id: I9676a6e39a101937097788548764506c93811c57
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87414
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ww8/WW8TableInfo.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/wrtxml.cxx | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/WW8TableInfo.cxx b/sw/source/filter/ww8/WW8TableInfo.cxx index 81fa51e5d5e4..4d97fd7f6bab 100644 --- a/sw/source/filter/ww8/WW8TableInfo.cxx +++ b/sw/source/filter/ww8/WW8TableInfo.cxx @@ -658,8 +658,6 @@ WW8TableInfo::processTableLine(const SwTable * pTable, const SwTableBoxes & rBoxes = pTableLine->GetTabBoxes(); - WW8TableNodeInfo::Pointer_t pTextNodeInfo; - for (size_t n = 0; n < rBoxes.size(); ++n) { const SwTableBox * pBox = rBoxes[n]; diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx index d0d5b1e48094..9a9aad263c1f 100644 --- a/sw/source/filter/xml/wrtxml.cxx +++ b/sw/source/filter/xml/wrtxml.cxx @@ -82,7 +82,6 @@ ErrCode SwXMLWriter::Write_( const uno::Reference < task::XStatusIndicator >& xS comphelper::getProcessComponentContext(); // Get data sink ... - tools::SvRef<SotStorageStream> xDocStream; uno::Reference<document::XGraphicStorageHandler> xGraphicStorageHandler; rtl::Reference<SvXMLGraphicHelper> xGraphicHelper ; uno::Reference< document::XEmbeddedObjectResolver > xObjectResolver; |