summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-03 15:53:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-07 11:42:37 +0200
commitf59d9e7ea09482c2e9e5f52a8d0445e4cebc3df5 (patch)
tree32660175a848b4cbb80d7c4f1d2fe04e790fb6e2 /forms
parent97db1d17be599c8627110cbb4f57f0cb36da178c (diff)
new loplugin:unusedvariableplus
a particularly aggressive checker, which is why it is off by default Change-Id: Id5a0faa50b3ecc75e01f4aedc6579c5209e585da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91643 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/solar/component/navbarcontrol.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx
index b76460d9edbc..78acd82b1659 100644
--- a/forms/source/solar/component/navbarcontrol.cxx
+++ b/forms/source/solar/component/navbarcontrol.cxx
@@ -276,7 +276,6 @@ namespace frm
if ( _rPropertyName == PROPERTY_BACKGROUNDCOLOR )
{
- Wallpaper aTest = pNavBar->GetBackground();
if ( bVoid )
{
pNavBar->SetBackground( pNavBar->GetSettings().GetStyleSettings().GetFaceColor() );