tdf#158105 Change character "background" to "highlighting color"
Change-Id: I98dcc9cf0d2e3306275a25ed83dc5692211ed442
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160037
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
diff --git a/include/svx/strings.hrc b/include/svx/strings.hrc
index 8dc2aa0..bc42cae 100644
--- a/include/svx/strings.hrc
+++ b/include/svx/strings.hrc
@@ -1463,7 +1463,7 @@
#define RID_SVXITEMS_AUTHOR_COMPLETE NC_("RID_SVXITEMS_AUTHOR_COMPLETE", "Author: ")
#define RID_SVXITEMS_DATE_COMPLETE NC_("RID_SVXITEMS_DATE_COMPLETE", "Date: ")
#define RID_SVXITEMS_TEXT_COMPLETE NC_("RID_SVXITEMS_TEXT_COMPLETE", "Text: ")
#define RID_SVXITEMS_BRUSH_CHAR NC_("RID_SVXITEMS_BRUSH_CHAR", "Character background")
#define RID_SVXITEMS_BRUSH_CHAR NC_("RID_SVXITEMS_BRUSH_CHAR", "Character highlighting color")
#define STR_COLORTABLE NC_("STR_COLORTABLE", "Color Palette")
diff --git a/include/svx/svxitems.hrc b/include/svx/svxitems.hrc
index af1e5aa..0687ffe 100644
--- a/include/svx/svxitems.hrc
+++ b/include/svx/svxitems.hrc
@@ -68,7 +68,7 @@ const std::pair<TranslateId, sal_uInt16> RID_ATTR_NAMES[] =
{ NC_("RID_ATTR_NAMES", "Keep with next paragraph"), SID_ATTR_PARA_KEEP },
{ NC_("RID_ATTR_NAMES", "Blinking") , SID_ATTR_FLASH },
{ NC_("RID_ATTR_NAMES", "Page line-spacing") , SID_ATTR_PARA_REGISTER },
{ NC_("RID_ATTR_NAMES", "Character background") , SID_ATTR_BRUSH_CHAR },
{ NC_("RID_ATTR_NAMES", "Character highlighting color") , SID_ATTR_BRUSH_CHAR },
{ NC_("RID_ATTR_NAMES", "Asian font") , SID_ATTR_CHAR_CJK_FONT },
{ NC_("RID_ATTR_NAMES", "Size of Asian font") , SID_ATTR_CHAR_CJK_FONTHEIGHT },
{ NC_("RID_ATTR_NAMES", "Language of Asian font"), SID_ATTR_CHAR_CJK_LANGUAGE },
diff --git a/sw/source/core/access/AccessibilityCheck.cxx b/sw/source/core/access/AccessibilityCheck.cxx
index 2e32197..7e32a11 100644
--- a/sw/source/core/access/AccessibilityCheck.cxx
+++ b/sw/source/core/access/AccessibilityCheck.cxx
@@ -524,7 +524,7 @@ private:
return;
}
// Determine the background color
// Try Character background (highlight)
// Try Character background (Character highlighting color)
Color aBackgroundColor(nCharBackColor);
// If not character background color, try paragraph background color