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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/uibase/shells/frmsh.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/uiview/srcview.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/frmsh.cxx b/sw/source/uibase/shells/frmsh.cxx index 50abc9c6f06f..14874c78f544 100644 --- a/sw/source/uibase/shells/frmsh.cxx +++ b/sw/source/uibase/shells/frmsh.cxx @@ -1106,7 +1106,6 @@ void SwFrameShell::ExecFrameStyle(SfxRequest const & rReq) } aBoxItem = aNewBox; - SvxBorderLine aDestBorderLine; if( aBoxItem->GetTop() != nullptr ) aBoxItem->SetLine(&aBorderLine, SvxBoxItemLine::TOP); diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx index 4d5ec2aaa874..33691a4d2cba 100644 --- a/sw/source/uibase/uiview/srcview.cxx +++ b/sw/source/uibase/uiview/srcview.cxx @@ -567,7 +567,6 @@ void SwSrcView::StartSearchAndReplace(const SvxSearchItem& rSearchItem, bool bRecursive) { TextView* pTextView = aEditWin->GetTextView(); - TextSelection aSel; TextPaM aPaM; bool bForward = !rSearchItem.GetBackward(); |