summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/datwin.cxx
diff options
context:
space:
mode:
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());
}