summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-06-04 12:11:42 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-06-04 15:17:38 +0200
commit42f4a65103a1a6d281ea201392aae97213421ff4 (patch)
treeb279d445d13f92ad5686f0a19d73759cbc67930c /svx
parent0deb0326b32cdb2b90b620b3403128196c2d4d74 (diff)
tdf#91840: Default to transparent text background
(+ label the button) Change-Id: Icc6a0c5e3e715bcfe1392496bef2514fd1bdb62b
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 9db5611693e0..2e668f259519 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1230,6 +1230,7 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
{
case SID_ATTR_CHAR_COLOR_BACKGROUND:
case SID_BACKGROUND_COLOR:
+ case SID_ATTR_CHAR_BACK_COLOR:
{
mpButtonAutoColor->SetText( SVX_RESSTR( RID_SVXSTR_TRANSPARENT ) );
mpColorSet->SetAccessibleName( SVX_RESSTR( RID_SVXSTR_BACKGROUND ) );
@@ -1380,6 +1381,7 @@ IMPL_LINK_NOARG(SvxColorWindow_Impl, AutoColorClickHdl)
{
case SID_ATTR_CHAR_COLOR_BACKGROUND:
case SID_BACKGROUND_COLOR:
+ case SID_ATTR_CHAR_BACK_COLOR:
{
aColor = COL_TRANSPARENT;
break;