diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-09-12 22:28:40 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-09-12 22:31:47 +0300 |
commit | c4b520160cc1e3caac836cc2ad64df10d93a6dbc (patch) | |
tree | 4c4a3c85a6c661f7976cceb8295de5fc8d9cb54a /svx | |
parent | 0b9987b61426c896bd15c6986280d8fb4ed3f040 (diff) |
tdf#90721 Line color initial behavior similar to fill color
Change-Id: Icf6d35d188f57e1b91da1ce5947f35c97c4f2e78
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbxcolorupdate.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 469ad6839c45..a1aa174a6e91 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -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: diff --git a/svx/source/tbxctrls/tbxcolorupdate.cxx b/svx/source/tbxctrls/tbxcolorupdate.cxx index c773a1c6ca66..ef16fc185bc5 100644 --- a/svx/source/tbxctrls/tbxcolorupdate.cxx +++ b/svx/source/tbxctrls/tbxcolorupdate.cxx @@ -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); |