tdf#90721 Line color initial behavior similar to fill color

Change-Id: Icf6d35d188f57e1b91da1ce5947f35c97c4f2e78
This commit is contained in:
Maxim Monastirsky
2016-09-12 22:28:40 +03:00
parent 0b9987b614
commit c4b520160c
2 changed files with 2 additions and 2 deletions

View File

@@ -2677,7 +2677,7 @@ SvxColorToolBoxControl::SvxColorToolBoxControl(
case SID_ATTR_LINE_COLOR:
addStatusListener( ".uno:XLineColor");
mPaletteManager.SetLastColor( COL_BLACK );
mPaletteManager.SetLastColor( COL_DEFAULT_SHAPE_STROKE );
break;
case SID_ATTR_FILL_COLOR:

View File

@@ -63,7 +63,7 @@ namespace svx
Update(COL_YELLOW);
break;
case SID_ATTR_LINE_COLOR:
Update(COL_BLACK);
Update(COL_DEFAULT_SHAPE_STROKE);
break;
case SID_ATTR_FILL_COLOR:
Update(COL_DEFAULT_SHAPE_FILLING);