Hi Krisztian,

On Monday 04 August 2014 16:25:45 Krisztian Pinter wrote:
> As it was pointed out last week, I'd have to do something
> with these lines:
> http://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbcontrl.cxx#1
> 16
You can throw out this macro, and implement your own 
CreateImpl/RegisterControl methods. In RegisterControl you should check for 
nSlotId, and put the correct type in place of nItemClass. It should work.

You can find the macro definition at 
http://opengrok.libreoffice.org/xref/core/include/sfx2/tbxctrl.hxx#275

Maxim
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to