Hello, I've got this when i open a ppt file : Error: PropertySet::implSetPropertyValue - cannot set property "NumberingLevel" From File /home/maryline/compile-libreoffice/libo/oox/source/helper/propertyset.cxx at Line 176
I thought this patch would be ok : diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 1d6fa46..7e0424e 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -90,6 +90,7 @@ static SvxItemPropertySet& GetStylePropertySet() { RTL_CONSTASCII_STRINGPARAM("DisplayName"), WID_STYLE_DISPNAME, &::getCppuType((const OUString*)0), PropertyAttrib SVX_UNOEDIT_NUMBERING_PROPERTIE, + SVX_UNOEDIT_OUTLINER_PROPERTIES, SHADOW_PROPERTIES LINE_PROPERTIES LINE_PROPERTIES_START_END but when I tried it I got this : Error: unknown which - dont ask me for defaults with Id/Pos: 3901 From File /home/maryline/compile-libreoffice/libo/svl/source/items/itempool.cxx at Line 900 Error: Which-Id nicht im Pool-Bereich From File /home/maryline/compile-libreoffice/libo/svl/source/inc/poolio.hxx at Line 212 Program received signal SIGSEGV, Segmentation fault. 0xb70d044f in SfxItemSet::Put (this=0xbfffb3d0, rItem=..., nWhich=19) at /home/maryline/compile-libreoffice/libo/svl/source/items/itemset.cxx:569 569 DBG_ASSERT( !rItem.ISA(SfxSetItem) || (gdb) bt #0 0xb70d044f in SfxItemSet::Put (this=0xbfffb3d0, rItem=..., nWhich=19) at /home/maryline/compile-libreoffice/libo/svl/source/items/itemset.cxx:569 #1 0xa5bab252 in SfxItemSet::Put (this=0xbfffb3d0, rItem=...) at /home/maryline/compile-libreoffice/libo/solver/350/unxlngi6/inc/svl/itemset.hxx:148 #2 0xa5bdf295 in SdStyleSheet::setPropertyValue (this=0x8d97b30, aPropertyName="NumberingLevel", aValue=uno::Any 0) at /home/maryline/compile-libreoffice/libo/sd/source/core/stlsheet.cxx:1112 #3 0xa779605a in oox::PropertySet::implSetPropertyValue (this=0xbfffb4f4, rPropName="NumberingLevel", rValue=uno::Any 0) at /home/maryline/compile-libreoffice/libo/oox/source/helper/propertyset.cxx:170 #4 0xa7795d37 in oox::PropertySet::setProperties (this=0xbfffb4f4, rPropNames=uno::Sequence of length 6 = {...}, rValues=uno::Sequence of length 6 = {...}) at /home/maryline/compile-libreoffice/libo/oox/source/helper/propertyset.cxx:134 #5 0xa7795e29 in oox::PropertySet::setProperties (this=0xbfffb4f4, rPropertyMap=...) at /home/maryline/compile-libreoffice/libo/oox/source/helper/propertyset.cxx:145 Could someone explain what do " EE_PARA_NUMBULLET", "WID_NUMLEVEL", ... that we can read for the define of "SVX_UNOEDIT_NUMBERING_PROPERTIE" or "SVX_UNOEDIT_OUTLINER_PROPERTIES" mean ? Julien. -- View this message in context: http://nabble.documentfoundation.org/Unknown-property-tp3293973p3293973.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice