diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindowTitle.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowTitle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } } |