summaryrefslogtreecommitdiff
path: root/include/svx/tbcontrl.hxx
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2022-07-21 13:56:30 -0400
committerJustin Luth <jluth@mail.com>2022-12-19 17:57:10 +0000
commitbe3d34b5d6b97c3eb12ab3f84ce2da2ef965a928 (patch)
tree54d4c4eafeffc090c9726007fde307e103421c0d /include/svx/tbcontrl.hxx
parent97e93861dd5ed52d742355f043e9cd628c1bc8f8 (diff)
[API CHANGE] tdf#85592: deprecate .uno:BackColor, use .uno:CharBackColor
EditEngine stuff uses CharBackColor, while SW used BackColor. Deprecate the SW-only SID. What does this do? It allows the toolbar "Character Highlighting Color" to work with both body text (previously BackColor) and comment text(CharBackColor). Otherwise, the toolbar item was disabled when moving into a comment. (Shapes/Textboxes got their own formatting toolbar, so those are unaffected.) AFAIK, after this commit, SID_ATTR_CHAR_COLOR_BACKGROUND should still work fine for API calls, or for customized toolbars. That's why I didn't try to remove it completely - just deprecate. Do I know what I am doing here? No, although I'm fairly confident nontheless, and I've had some good help from reviewers. Change-Id: I0afcbdb1b91c872f6d47f3c82c573f3b9fea6dfc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137334 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'include/svx/tbcontrl.hxx')
-rw-r--r--include/svx/tbcontrl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx
index ff7d558e40d3..72acf5845a4a 100644
--- a/include/svx/tbcontrl.hxx
+++ b/include/svx/tbcontrl.hxx
@@ -56,7 +56,7 @@
Execute-Id SID_ATTR_CHAR_COLOR
for character background color (writer)
- Execute-Id SID_ATTR_CHAR_COLOR_BACKGROUND
+ Execute-Id SID_ATTR_CHAR_BACK_COLOR
for paragraph background color (writer)
and cell background color (calc)