https://bugs.documentfoundation.org/show_bug.cgi?id=150222

--- Comment #4 from Julien Nabet <[email protected]> ---
Assertion can be fixed with:
diff --git a/reportdesign/source/ui/misc/UITools.cxx
b/reportdesign/source/ui/misc/UITools.cxx
index b77f3f77a77b..9e1b4a3d27a1 100644
--- a/reportdesign/source/ui/misc/UITools.cxx
+++ b/reportdesign/source/ui/misc/UITools.cxx
@@ -119,6 +119,7 @@
 #include <svx/xflhtit.hxx>
 #include <svx/xflftrit.hxx>
 #include <svx/xsflclit.hxx>
+#include <svx/xfilluseslidebackgrounditem.hxx>

 #define ITEMID_FONT                    
TypedWhichId<SvxFontItem>(XATTR_FILL_LAST + 1)
 #define ITEMID_FONTHEIGHT              
TypedWhichId<SvxFontHeightItem>(XATTR_FILL_LAST + 2)
@@ -573,6 +574,7 @@ bool openCharDialog( const
uno::Reference<report::XReportControlFormat >& _rxRep
         { XATTR_FILLBMP_POSOFFSETX,     true },
         { XATTR_FILLBMP_POSOFFSETY,     true },
         { XATTR_FILLBACKGROUND,     true },
+        { XATTR_FILLUSESLIDEBACKGROUND,     true },

         { SID_ATTR_CHAR_FONT, true },
         { SID_ATTR_CHAR_FONTHEIGHT, true },
@@ -643,6 +645,7 @@ bool openCharDialog( const
uno::Reference<report::XReportControlFormat >& _rxRep
         new XFillBmpPosOffsetXItem,
         new XFillBmpPosOffsetYItem,
         new XFillBackgroundItem,
+        new XFillUseSlideBackgroundItem,

         new SvxFontItem(ITEMID_FONT),
         new SvxFontHeightItem(240,100,ITEMID_FONTHEIGHT),

but then we got:
warn:svl.items:232815:232815:svl/source/items/itempool.cxx:248: No point
mapping a SID to itself, just put a 0 here in the SfxItemInfo array, at index 0
soffice.bin: /home/julien/lo/libreoffice/svl/source/items/itempool.cxx:249:
SfxItemPool::SfxItemPool(const rtl::OUString &, sal_uInt16, sal_uInt16, const
SfxItemInfo *, std::vector<SfxPoolItem *> *): Assertion `false' failed.
Unspecified Application Error

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to