diff options
Diffstat (limited to 'svx/source/tbxctrls/itemwin.cxx')
-rw-r--r-- | svx/source/tbxctrls/itemwin.cxx | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 66bd3e6b7b..879c8708f2 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -279,26 +279,7 @@ void SvxLineBox::DataChanged( const DataChangedEvent& rDCEvt ) void SvxLineBox::FillControl() { - Clear(); - - InsertEntry( SVX_RESSTR(RID_SVXSTR_INVISIBLE) ); - - Bitmap aBitmap ( SVX_RES ( RID_SVXCTRL_LINECTRL ) ); - - ::Color aSourceColors[2]; - ::Color aDestColors[2]; - - aSourceColors[0] = ::Color( COL_WHITE ); - aSourceColors[1] = ::Color( COL_BLACK ); - - const StyleSettings& rStyles = Application::GetSettings().GetStyleSettings(); - aDestColors[0] = rStyles.GetFieldColor(); - aDestColors[1] = rStyles.GetFieldTextColor(); - - aBitmap.Replace ( aSourceColors, aDestColors, 2 ); - Image aSolidLine ( aBitmap ); - InsertEntry( SVX_RESSTR(RID_SVXSTR_SOLID), aSolidLine ); - + FillStyles(); if ( !mpSh ) mpSh = SfxObjectShell::Current(); @@ -308,6 +289,7 @@ void SvxLineBox::FillControl() if ( pItem ) Fill( pItem->GetDashList() ); } + // rBindings.Invalidate( SID_ATTR_LINE_DASH ); } |