Kaydet (Commit) 206c088c authored tarafından Miklos Vajna's avatar Miklos Vajna

SvxBackgroundTabPage::FillItemSet: handle XFILL_GRADIENT -> XFILL_SOLID

This makes it possible to turn off the gradient background of a Writer
frame.

Change-Id: Ic7bdfec252847f463da47c838c7de0fdb7625869
üst 3696f90a
......@@ -785,6 +785,9 @@ sal_Bool SvxBackgroundTabPage::FillItemSet( SfxItemSet& rCoreSet )
}
else if ( SFX_ITEM_DEFAULT == rOldSet.GetItemState( nWhich, sal_False ) )
rCoreSet.ClearItem( nWhich );
// Handle XFILL_GRADIENT -> XFILL_SOLID
XFillStyleItem aFillStyleItem(XFILL_SOLID, GetWhich(SID_ATTR_FILL_STYLE));
rCoreSet.Put(aFillStyleItem);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment