On Sun, 2013-06-23 at 14:21 +0200, Tomaž Vajngerl wrote:
Hi,
I noticed we renumbered the ID's in "include/svx/svxids.hrc" but this
is causing problems for the toolbar/popup menu icon (it is not drawn)
and functionality for left graphic rotation (SID_ROTATE_GRAPHIC_LEFT
which is defined as [1]). I noticed that the same ID (SID_SVX_START
+1121) is added to [2] which is in "include/editeng/editids.hrc". I
think that this two IDs are colliding in some way because if I change
the number to something else, rotate left icon is drawn again
correctly. Now the question is what to do about this.. I could just
relocate the ID for SID_ROTATE_GRAPHIC_LEFT and be done, but we might
have more problems because of this. Can someone take a look at this?
I also noticed that SID_SVX_START offset is also used by
"include/sfx2/sfxsids.hrc" and some more files, which could also cause
collisions and problems.
Yeah, its an awesome mess, the SID_SVX_START block got split up over
three hrc files and it's now super easy to collide ids. I'll add some
comments to the three to suggest only adding new SID_SVX_START entries
to the svx one and when adding a new one to svx check that it's not
already taken by the other two. And then move the three post-svx-split
new editeng entries out of the SID_SVX_START block to the new
post-svx-split SID_EDIT_START block instead. That should presumably fix
the problem.
C.
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.