summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/ToolBoxHelper.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-11-13 19:04:43 +0100
committerKurt Zenker <kz@openoffice.org>2009-11-13 19:04:43 +0100
commit99eeb15b50b11fd96283e09712f15c1b6ede2313 (patch)
tree0b94d6fda297d881ee03bab6602666074705484a /dbaccess/source/ui/misc/ToolBoxHelper.cxx
parentf7adfce6730dacc29f89e06a47f2e270956ca532 (diff)
parent36741aa1910218c620901d8a670c43042a4626eb (diff)
CWS-TOOLING: integrate CWS changehc02ooo/DEV300_m66ooo/DEV300_m65
Diffstat (limited to 'dbaccess/source/ui/misc/ToolBoxHelper.cxx')
-rw-r--r--dbaccess/source/ui/misc/ToolBoxHelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/ToolBoxHelper.cxx b/dbaccess/source/ui/misc/ToolBoxHelper.cxx
index 4d3497653..be7a105ae 100644
--- a/dbaccess/source/ui/misc/ToolBoxHelper.cxx
+++ b/dbaccess/source/ui/misc/ToolBoxHelper.cxx
@@ -79,10 +79,10 @@ namespace dbaui
{
sal_Int16 nCurSymbolsSize = SvtMiscOptions().GetCurrentSymbolsSize();
if ( nCurSymbolsSize != m_nSymbolsSize ||
- m_bIsHiContrast != m_pToolBox->GetBackground().GetColor().IsDark() )
+ m_bIsHiContrast != m_pToolBox->GetSettings().GetStyleSettings().GetHighContrastMode() )
{
m_nSymbolsSize = nCurSymbolsSize;
- m_bIsHiContrast = m_pToolBox->GetBackground().GetColor().IsDark();
+ m_bIsHiContrast = m_pToolBox->GetSettings().GetStyleSettings().GetHighContrastMode();
m_pToolBox->SetImageList( getImageList(m_nSymbolsSize,m_bIsHiContrast) );
@@ -131,7 +131,7 @@ namespace dbaui
m_pToolBox = _pTB;
if ( m_pToolBox )
{
- // m_bIsHiContrast = m_pToolBox->GetBackground().GetColor().IsDark();
+ // m_bIsHiContrast = m_pToolBox->GetSettings().GetStyleSettings().GetHighContrastMode();
ConfigOptionsChanged(NULL);
if ( bFirstTime )
adjustToolBoxSize(m_pToolBox);