diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r-- | dbaccess/source/ui/querydesign/JoinTableView.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindow.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowTitle.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx index 1437d3deb64c..8de5711da57f 100644 --- a/dbaccess/source/ui/querydesign/JoinTableView.cxx +++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx @@ -607,7 +607,7 @@ void OJoinTableView::InitColors() { // the colors for the illustration should be the system colors StyleSettings aSystemStyle = Application::GetSettings().GetStyleSettings(); - SetBackground(Wallpaper(Color(aSystemStyle.GetDialogColor()))); + SetBackground(Wallpaper(aSystemStyle.GetDialogColor())); } void OJoinTableView::BeginChildMove( OTableWindow* pTabWin, const Point& rMousePos ) 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()); } } diff --git a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx index 5a6939a88d7e..6a917ec8c034 100644 --- a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx @@ -43,7 +43,7 @@ OTableWindowTitle::OTableWindowTitle( OTableWindow* pParent ) : { // set background- and text colour StyleSettings aSystemStyle = Application::GetSettings().GetStyleSettings(); - SetBackground(Wallpaper(Color(aSystemStyle.GetFaceColor()))); + SetBackground(Wallpaper(aSystemStyle.GetFaceColor())); SetTextColor(aSystemStyle.GetButtonTextColor()); vcl::Font aFont( GetFont() ); @@ -168,7 +168,7 @@ void OTableWindowTitle::DataChanged(const DataChangedEvent& rDCEvt) { // assume worst-case: colours have changed, therefore I have to adept StyleSettings aSystemStyle = Application::GetSettings().GetStyleSettings(); - SetBackground(Wallpaper(Color(aSystemStyle.GetFaceColor()))); + SetBackground(Wallpaper(aSystemStyle.GetFaceColor())); SetTextColor(aSystemStyle.GetButtonTextColor()); } } |