summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/datwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-01 08:30:03 +0200
committerNoel Grandin <noel@peralex.com>2016-03-01 08:30:28 +0200
commit40971354138e14a2aacfa4605ba0c096e000d578 (patch)
treeb5812c6265a3900bd2cf47304ab1e470b3b953c5 /svtools/source/brwbox/datwin.cxx
parent5e913234da65484778d53179ee2005aec01d0f0e (diff)
loplugin:unuseddefaultparam in svtools
Change-Id: I4e9712bea0cc8cf2d48759738806a584dda8268e
Diffstat (limited to 'svtools/source/brwbox/datwin.cxx')
-rw-r--r--svtools/source/brwbox/datwin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 7df9e0ed5a66..d1fee6b3b100 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -254,7 +254,7 @@ void BrowserDataWin::LeaveUpdateLock()
}
}
-void InitSettings_Impl(vcl::Window* pWin, bool bFont, bool bForeground, bool bBackground)
+void InitSettings_Impl(vcl::Window* pWin, bool bFont, bool bForeground)
{
const StyleSettings& rStyleSettings = pWin->GetSettings().GetStyleSettings();
@@ -264,8 +264,7 @@ void InitSettings_Impl(vcl::Window* pWin, bool bFont, bool bForeground, bool bBa
if (bFont || bForeground)
pWin->ApplyControlForeground(*pWin, rStyleSettings.GetWindowTextColor());
- if (bBackground)
- pWin->ApplyControlBackground(*pWin, rStyleSettings.GetWindowColor());
+ pWin->ApplyControlBackground(*pWin, rStyleSettings.GetWindowColor());
}