summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableWindow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-21 14:07:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-22 07:23:57 +0100
commit331b4603be47fe059095307b2b3e2c1d399b04f9 (patch)
tree89edb58ed42d9b25558a3651cac8a3234629ad96 /dbaccess/source/ui/querydesign/TableWindow.cxx
parent8ec0f90a287febe661c89e098be457c5d593ded3 (diff)
loplugin:redundantcopy extend to Color
Change-Id: I224cc955d49ee100d328e0171da710f38068d2d4 Reviewed-on: https://gerrit.libreoffice.org/50114 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindow.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx
index 2267047e1378..6843cc1ecbd2 100644
--- a/dbaccess/source/ui/querydesign/TableWindow.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindow.cxx
@@ -321,7 +321,7 @@ void OTableWindow::DataChanged(const DataChangedEvent& rDCEvt)
// In the worst-case the colours have changed so
// adapt myself to the new colours
const StyleSettings& aSystemStyle = Application::GetSettings().GetStyleSettings();
- SetBackground(Wallpaper(Color(aSystemStyle.GetFaceColor())));
+ SetBackground(Wallpaper(aSystemStyle.GetFaceColor()));
SetTextColor(aSystemStyle.GetButtonTextColor());
}
}