[Libreoffice-commits] core.git: cui/source
Katarina Behrens
Katarina.Behrens at cib.de
Mon Mar 6 13:18:51 UTC 2017
cui/source/tabpages/tparea.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 63961b9b45c95999dcc6b5ab080035609068ff69
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Sun Mar 5 22:56:36 2017 +0100
tdf#103847: Pass also XFillStyleItem to subtabs
this resolves the issue of non-preset gradient and hatch values not
being shown. Bitmap is still broken (beyond repair)
Change-Id: Ifad8f3a56b534e26def69c0b0bb2ed55de53bcda
Reviewed-on: https://gerrit.libreoffice.org/34908
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 9870d84..8b782f3 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -179,8 +179,11 @@ void SvxAreaTabPage::ActivatePage( const SfxItemSet& rSet )
drawing::FillStyle eXFS = drawing::FillStyle_NONE;
if( rSet.GetItemState( XATTR_FILLSTYLE ) != SfxItemState::DONTCARE )
{
- eXFS = (drawing::FillStyle) ( static_cast<const XFillStyleItem&>( rSet.Get( GetWhich( XATTR_FILLSTYLE ) ) ).GetValue() );
+ XFillStyleItem aFillStyleItem( static_cast<const XFillStyleItem&>( rSet.Get( GetWhich( XATTR_FILLSTYLE ) ) ) );
+ eXFS = aFillStyleItem.GetValue();
+ m_rXFSet.Put( aFillStyleItem );
}
+
switch(eXFS)
{
default:
More information about the Libreoffice-commits
mailing list