summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/itemwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/itemwin.cxx')
-rw-r--r--svx/source/tbxctrls/itemwin.cxx22
1 files changed, 2 insertions, 20 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index 846cb1f81825..518621a4cc38 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();
@@ -309,6 +290,7 @@ void SvxLineBox::FillControl()
Fill( pItem->GetDashList() );
}
+
// rBindings.Invalidate( SID_ATTR_LINE_DASH );
}
//========================================================================