summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-11-04 22:38:07 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2015-11-04 23:30:41 +0200
commitc81142b277546714c0dfa8f9c2961c8ef80bc6d2 (patch)
tree804dc1137fa8003c0a18ed406e4983b07ac39a6d
parent177183f692f42f6a0cf5ee66f1b7e1c31a616140 (diff)
tdf#86595 One "Text Background Color" missed
Change-Id: Ia640b9bc044a8445751f0ebad7f027466c352d1f
-rw-r--r--include/svx/dialogs.hrc1
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx5
-rw-r--r--svx/source/tbxctrls/tbcontrl.src5
3 files changed, 1 insertions, 10 deletions
diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc
index ecb9191e6db7..afa3889aa75a 100644
--- a/include/svx/dialogs.hrc
+++ b/include/svx/dialogs.hrc
@@ -233,7 +233,6 @@
// Strings of the ToolBox-Controls from tbcontrl.cxx
#define RID_SVXSTR_FILLPATTERN (RID_SVX_START + 191)
#define RID_SVXSTR_FRAME (RID_SVX_START + 192)
-#define RID_SVXSTR_CHAR_BACK_COLOR (RID_SVX_START + 193)
#define RID_SVXSTR_FRAME_COLOR (RID_SVX_START + 194)
#define RID_SVXSTR_FRAME_STYLE (RID_SVX_START + 195)
#define RID_SVXSTR_EXTRAS_CHARBACKGROUND (RID_SVX_START + 196)
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 0d0ea9d4d834..7bcd9760c857 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2633,6 +2633,7 @@ VclPtr<SfxPopupWindow> SvxColorToolBoxControl::CreatePopupWindow()
switch( GetSlotId() )
{
case SID_ATTR_CHAR_COLOR_BACKGROUND :
+ case SID_ATTR_CHAR_BACK_COLOR :
pColorWin->SetText( SVX_RESSTR( RID_SVXSTR_EXTRAS_CHARBACKGROUND ) );
break;
@@ -2640,10 +2641,6 @@ VclPtr<SfxPopupWindow> SvxColorToolBoxControl::CreatePopupWindow()
pColorWin->SetText( SVX_RESSTR( RID_SVXSTR_BACKGROUND ) );
break;
- case SID_ATTR_CHAR_BACK_COLOR :
- pColorWin->SetText( SVX_RESSTR( RID_SVXSTR_CHAR_BACK_COLOR ) );
- break;
-
case SID_FRAME_LINECOLOR:
pColorWin->SetText( SVX_RESSTR( RID_SVXSTR_FRAME_COLOR ) );
break;
diff --git a/svx/source/tbxctrls/tbcontrl.src b/svx/source/tbxctrls/tbcontrl.src
index 456496c9a010..c0a5bd4a3f53 100644
--- a/svx/source/tbxctrls/tbcontrl.src
+++ b/svx/source/tbxctrls/tbcontrl.src
@@ -125,11 +125,6 @@ String RID_SVXSTR_EXTRAS_CHARBACKGROUND
Text [ en-US ] = "Highlight Color" ;
};
-String RID_SVXSTR_CHAR_BACK_COLOR
-{
- Text [ en-US ] = "Text Background Color" ;
-};
-
String RID_SVXSTR_BACKGROUND
{
Text [ en-US ] = "Background";