[Libreoffice-commits] core.git: sd/source

Tamás Zolnai tamas.zolnai at collabora.com
Fri Dec 15 05:03:10 UTC 2017


 sd/source/ui/view/drviews2.cxx |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit b1f0de010f041a9340b2d32d3fef010954be9a32
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Fri Dec 15 00:56:26 2017 +0100

    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 at libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

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;
     }


More information about the Libreoffice-commits mailing list