=== Fix duplicate longname IDs === '''Background''': Near the end of the build you get warnings like warn: two longnames have the same ID: HID_BG_BTN_IMG4 and HID_BG_BTN_IMG14 share ID 34300 In the particular case above I fail to see that it would anything except a typo in /components/wizards/util/hidother.src . In other cases the warnings might be caused by intentional duplications, though. This should be investigated. '''Skills:''' dmake, grep, patience
As far as I traced, HID_BG_BTN_IMG13 ~ HID_BG_BTN_IMG16 looks unused. Here is the reason: 1. This ID seems to be associated with the id HD_BG (34290), which is the first id of BackgroundsDialog (wizards/com/sun/star/wizards/web/BackgroundsDialog.java). 2. In its super class ImageListDialog, this id is incremented to 34295 and passed to ImageList. 3. In ImageList, it increments the id on creatImage(), which is called rows*cols times in the constructor. 4. However, the initial values give rows=3 and cols=4, and BackgroundDialog do not change them further, so it never reaches ids after than HID_BG_BTN_IMG12. BackgroundsDialog is used only in WebWizardDialog.
This is fixed now: http://cgit.freedesktop.org/libreoffice/core/commit/?id=2ba78d1ed9fca82156eebb460b398829b5a3b6db Sorry that applying that took so long - it was forgotten :-(
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.