diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-11-13 19:04:43 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-11-13 19:04:43 +0100 |
commit | f79407b9b4aeeb778e1de4bf66aef3ebec785306 (patch) | |
tree | 2bb029aa72a9db2dd5be10e7cda55608f7741b75 /padmin | |
parent | 787924900754f8a3d3bc126649e518b2adb9beb5 (diff) | |
parent | 6ce14717d50ed3fad1f5879faf5d034aaf8f3d3b (diff) |
CWS-TOOLING: integrate CWS changehc02
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/adddlg.cxx | 2 | ||||
-rw-r--r-- | padmin/source/padialog.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx index 052de2cbb731..58c37dcffa83 100644 --- a/padmin/source/adddlg.cxx +++ b/padmin/source/adddlg.cxx @@ -807,7 +807,7 @@ AddPrinterDialog::~AddPrinterDialog() void AddPrinterDialog::updateSettings() { - if( ! GetDisplayBackground().GetColor().IsDark() ) + if( ! GetSettings().GetStyleSettings().GetHighContrastMode() ) m_aTitleImage.SetImage( Image( BitmapEx( PaResId( RID_BMP_PRINTER ) ) ) ); else m_aTitleImage.SetImage( Image( BitmapEx( PaResId( RID_BMP_PRINTER_HC ) ) ) ); diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx index 5b49409a1c8a..f73427526be6 100644 --- a/padmin/source/padialog.cxx +++ b/padmin/source/padialog.cxx @@ -106,7 +106,7 @@ PADialog::PADialog( Window* pParent, BOOL /*bAdmin*/ ) : void PADialog::updateSettings() { - if( ! GetDisplayBackground().GetColor().IsDark() ) + if( ! GetSettings().GetStyleSettings().GetHighContrastMode() ) { m_aPrinterImg = Image( BitmapEx( PaResId( RID_BMP_SMALL_PRINTER ) ) ); m_aFaxImg = Image( BitmapEx( PaResId( RID_BMP_SMALL_FAX ) ) ); |