Summary: | [EasyHack] Fix duplicate longname IDs | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Björn Michaelsen <bjoern.michaelsen> |
Component: | Libreoffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | EasyHack DifficultyBeginner SkillScript | ||
i915 platform: | i915 features: |
Description
Björn Michaelsen
2011-07-28 10:02:08 UTC
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.