summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-05-12 16:36:18 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-05-14 21:04:37 +0200
commitc8139626befdadda16b0fa66fad317cf79949f29 (patch)
tree7592734447f615e870630c83c6fde4c0246f66b8
parent40c81b6a3dbceca8bc93ff6aa42118921d274e19 (diff)
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@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--sd/source/ui/dlg/prltempl.cxx5
1 files changed, 5 insertions, 0 deletions
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