SfxItemSet::Put(..., USHORT nWhich) removal (was the meaning of core/starmath/sdi/smath.sdi)

Caolán McNamara caolanm at redhat.com
Thu Feb 28 03:34:24 PST 2013


On Thu, 2013-02-21 at 10:01 +0100, Maciej Rumianowski wrote:
> Hi *,
> 
> does someone know what is the meaning of this
> (http://opengrok.libreoffice.org/xref/core/starmath/sdi/smath.sdi)
> file?
> It uses a lot of SfxVoidItem which I am currently investigating and
> trying to use as DisabledItem mark.

btw, what effect do you want to achieve ?

> http://cgit.freedesktop.org/libreoffice/core/tree/svl/source/items/itemset.cxx
>         void SfxItemSet::DisableItem(sal_uInt16 nWhich)
>         {
>             DBG_CHKTHIS(SfxItemSet, 0);
>             Put( SfxVoidItem(0), nWhich );
>         }
> Because of Bug 34465 Items should be inserted at same nWhich as
> their .Which().

caolanm->bjoern: what's the vision around SfxItemSet::DisableItem and
removal of the two argument SfxItemSet::Put ?

C.




More information about the LibreOffice mailing list