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

Katarina Behrens Katarina.Behrens at cib.de
Sun May 14 19:05:16 UTC 2017


 sd/source/ui/dlg/prltempl.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit c8139626befdadda16b0fa66fad317cf79949f29
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Fri May 12 16:36:18 2017 +0200

    tdf#96681: Add flag so we can actually work with SID_ATTR_BRUSH_CHAR
    
    Change-Id: I3e380304eae49290aec80b6aa0f078fcf6618de7
    Reviewed-on: https://gerrit.libreoffice.org/37563
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx
index 03dfaf410b8f..70d437ba8e40 100644
--- a/sd/source/ui/dlg/prltempl.cxx
+++ b/sd/source/ui/dlg/prltempl.cxx
@@ -277,6 +277,11 @@ void SdPresLayoutTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
         aSet.Put(CntUInt16Item(SID_SVXTEXTATTRPAGE_OBJKIND, OBJ_TEXT));
         rPage.PageCreated(aSet);
     }
+    else if (nId == mnBackground)
+    {
+        aSet.Put(SfxUInt32Item(SID_FLAG_TYPE,static_cast<sal_uInt32>(SvxBackgroundTabFlags::SHOW_HIGHLIGHTING)));
+        rPage.PageCreated(aSet);
+    }
 }
 
 const SfxItemSet* SdPresLayoutTemplateDlg::GetOutputItemSet() const


More information about the Libreoffice-commits mailing list