diff options
Diffstat (limited to 'sw/source/uibase/docvw/HeaderFooterWin.cxx')
-rw-r--r-- | sw/source/uibase/docvw/HeaderFooterWin.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx index dd658ad3920c..2d1fca27f4f3 100644 --- a/sw/source/uibase/docvw/HeaderFooterWin.cxx +++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx @@ -38,6 +38,7 @@ #include <drawinglayer/primitive2d/textlayoutdevice.hxx> #include <drawinglayer/primitive2d/textprimitive2d.hxx> #include <editeng/boxitem.hxx> +#include <editeng/brushitem.hxx> #include <svx/hdft.hxx> #include <sfx2/dispatch.hxx> #include <drawinglayer/processor2d/processorfromoutputdevice.hxx> @@ -428,10 +429,13 @@ void SwHeaderFooterWin::ExecuteCommand(const OString& rIdent) *pPool, svl::Items< RES_BACKGROUND, RES_SHADOW, + XATTR_FILL_FIRST, XATTR_FILL_LAST, SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER>{}); aSet.Put( pHFFormat->GetAttrSet() ); + aSet.Put( pHFFormat->makeBackgroundBrushItem() ); + // Create a box info item... needed by the dialog SvxBoxInfoItem aBoxInfo( SID_ATTR_BORDER_INNER ); const SfxPoolItem *pBoxInfo; |