diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-06 09:04:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-06 10:47:15 +0100 |
commit | 9e087d4a3011aa98de6151aeda9cbb40b1fd21ef (patch) | |
tree | 0d6219941df2857fd63e1d9f913214af6804fb2e /sd | |
parent | d746e6f7cbc9e7225b965c1b506a0050dd386e53 (diff) |
loplugin:unusedvariablecheck tweak to find more stuff
but leave the tweak commented out, since it generates false positives
Change-Id: Iaf3f92414d2618f8780561f98765e33e282afe0c
Reviewed-on: https://gerrit.libreoffice.org/82121
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/sdmodeltestbase.hxx | 1 | ||||
-rw-r--r-- | sd/source/core/drawdoc4.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index 28b41219325a..8fef3182ee3e 100644 --- a/sd/qa/unit/sdmodeltestbase.hxx +++ b/sd/qa/unit/sdmodeltestbase.hxx @@ -317,7 +317,6 @@ protected: uno::Reference< drawing::XDrawPages > xDrawPages = xDrawPagesSupplier->getDrawPages(); CPPUNIT_ASSERT(xDrawPages.is()); - XShapeDumper aShapeDumper; sal_Int32 nLength = xDrawPages->getCount(); for (sal_Int32 i = 0; i < nLength; ++i) { diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx index a8dd775a8cdd..b30359cf2d61 100644 --- a/sd/source/core/drawdoc4.cxx +++ b/sd/source/core/drawdoc4.cxx @@ -637,8 +637,6 @@ void SdDrawDocument::CreateDefaultCellStyles() pSheet->SetHelpId( OUString(), HID_SD_CELL_STYLE_DEFAULT ); SfxItemSet& rISet = pSheet->GetItemSet(); - XHatch aNullHatch(COL_BLACK); - rISet.Put(XFillStyleItem(drawing::FillStyle_SOLID)); rISet.Put(XFillColorItem(OUString(), Color(0x00ccccff))); |