[GSoC] Improved Color Selection, Week 11

Maxim Monastirsky momonasmon at gmail.com
Mon Aug 4 08:19:26 PDT 2014


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


More information about the LibreOffice mailing list