https://bugs.freedesktop.org/show_bug.cgi?id=81756

--- Comment #9 from Douglas Mencken <[email protected]> ---
I did

--- a/svx/source/unodraw/unobrushitemhelper.cxx
+++ b/svx/source/unodraw/unobrushitemhelper.cxx
@@ -132,6 +132,7 @@ void setSvxBrushItemAsFillAttributesToTargetSet(const
SvxBrushItem& rBrush, SfxI
             rToSet.Put(XFillTransparenceItem(nGraphicTransparency));
         }
     }
+#if 0
     else
     {
         // GPOS_NONE == rBrush.GetGraphicPos() && 0xff ==
rBrush.GetColor().GetTransparency(),
@@ -146,8 +147,11 @@ void setSvxBrushItemAsFillAttributesToTargetSet(const
SvxBrushItem& rBrush, SfxI
         const Color aColor(rBrush.GetColor().GetRGBColor());

         rToSet.Put(XFillStyleItem(drawing::FillStyle_NONE));
+#if 0
         rToSet.Put(XFillColorItem(OUString(), aColor));
+#endif
     }
+#endif
 }

and got:

0   libsvxcorelo.dylib                0x16638ac4
drawinglayer::primitive2d::createNewSdrFillAttribute(SfxItemSet const&) + 100
1   libsvxcorelo.dylib                0x165e8d90
drawinglayer::attribute::SdrAllFillAttributesHelper::SdrAllFillAttributesHelper(SfxItemSet
const&) + 96
2   libcuilo.dylib                    0x1886fb3c
SvxPageDescPage::ResetBackground_Impl(SfxItemSet const&) + 2444
3   libcuilo.dylib                    0x188705dc
SvxPageDescPage::Reset(SfxItemSet const*) + 1996
4   libsfxlo.dylib                    0x05283528
SfxTabDialog::ActivatePageHdl(TabControl*) + 1048
5   libsfxlo.dylib                    0x05283974 SfxTabDialog::Start_Impl() +
628
6   libsfxlo.dylib                    0x05283b0c SfxTabDialog::Execute() + 44
7   libscuilo.dylib                   0x14c7b1cc
ScAbstractTabDialog_Impl::Execute() + 28
8   libsclo.dylib                     0x154859ac
ScDocShell::ExecutePageStyle(SfxViewShell&, SfxRequest&, short) + 316
9   libsclo.dylib                     0x157a176c
ScTabViewShell::Execute(SfxRequest&) + 1612
...

So it's cui/source/tabpages/page.cxx or underlining design.

The same cui dialog works for writer. But writer pages have both footer, header
(or absense of them). They might be filled, even with transparent gradient,
yeah, it's cool.
But is it fully applicable to Calc pages (given that the same @@ -1280,7
+1280,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet)
is used)?

I know this patch is adopted from Apache, but anyway...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to