Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi Krisztian,

On Monday 28 July 2014 19:48:51 Krisztian Pinter wrote:
I changed things in
*sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml*
I don't see any reason touching that file.

*sd/source/ui/app/sddll.cxx -- SdDLL::RegisterControllers()*
That's right, and there are similar changes required in writer & calc as well.

and the toolbar button for *SvxLineColorToolBoxControl* stayed there but
just stopped working.
The problem here is with the macro SFX_IMPL_TOOLBOX_CONTROL that can be found 
at the top of tbcontrl.cxx. It takes the class name and the type of the status 
item. Currently SvxColorToolBoxControl is registered with SvxColorItem as a 
type, which is fine for most of the color commands, but not for the line color 
that use XLineColorItem as a type.

Maxim

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.