diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-12-15 00:56:26 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-12-15 06:00:00 +0100 |
commit | b1f0de010f041a9340b2d32d3fef010954be9a32 (patch) | |
tree | a538dcbda2026e559ac7b07204e49d3878b4589a /sd | |
parent | 2194105a38631e1c5c074634bc5b084cd2f8661f (diff) |
tdf#114477: Can't set character highlighting on a text box using sidebar
Change-Id: I9ef9d6dacc87fb26351eae5eaedd72fd0a081672
Reviewed-on: https://gerrit.libreoffice.org/46494
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 55fdadcd68ac..4fd1a539607f 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -3472,6 +3472,16 @@ void DrawViewShell::ExecChar( SfxRequest &rReq ) } break; } + case SID_ATTR_CHAR_BACK_COLOR: + if( rReq.GetArgs() ) + { + const SvxBackgroundColorItem* pItem = rReq.GetArg<SvxBackgroundColorItem>(SID_ATTR_CHAR_BACK_COLOR); + if (pItem) + { + aNewAttr.Put(*pItem); + } + } + break; default: break; } |