diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-07-18 11:09:34 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-07-18 11:11:09 +0100 |
commit | 067739ebe567a53d270e994fcee54d285b075058 (patch) | |
tree | 77aba4000b87d25e611b8f37142d410f8c6ac720 /cui/source/tabpages/chardlg.cxx | |
parent | 7a1e293b35dfabfad0c887a5774609dbf442c9a9 (diff) |
adapt to new InsertAutomaticEntryColor method, to show automatic color
Diffstat (limited to 'cui/source/tabpages/chardlg.cxx')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 3bdb44528..daf8b6d6d 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -1553,9 +1553,9 @@ void SvxCharEffectsPage::Initialize() if ( !pFrame || SFX_ITEM_DEFAULT > pFrame->GetBindings().QueryState( SID_ATTR_AUTO_COLOR_INVALID, pDummy ) ) { - m_aUnderlineColorLB.InsertAutomaticEntry(); - m_aOverlineColorLB.InsertAutomaticEntry(); - m_aFontColorLB.InsertAutomaticEntry(); + m_aUnderlineColorLB.InsertAutomaticEntryColor( Color( COL_AUTO ) ); + m_aOverlineColorLB.InsertAutomaticEntryColor( Color( COL_AUTO ) ); + m_aFontColorLB.InsertAutomaticEntryColor( Color( COL_AUTO ) ); } } for ( long i = 0; i < pColorTable->Count(); i++ ) |