[Libreoffice-commits] core.git: Branch 'private/swe/libreoffice-5-2+backports' - sd/source

Tamás Zolnai tamas.zolnai at collabora.com
Fri Dec 15 09:41:11 UTC 2017


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

New commits:
commit 19fe039dcb8317ca93ce929dc71c61499ee54612
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>
    (cherry picked from commit b1f0de010f041a9340b2d32d3fef010954be9a32)
    Reviewed-on: https://gerrit.libreoffice.org/46498
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 5e02a2d5a3d1..0b942d08200a 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -3108,6 +3108,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