diff --git a/wizards/com/sun/star/wizards/form/UIControlArranger.java b/wizards/com/sun/star/wizards/form/UIControlArranger.java index 8f92e8ce66b5..78dc5969e518 100644 --- a/wizards/com/sun/star/wizards/form/UIControlArranger.java +++ b/wizards/com/sun/star/wizards/form/UIControlArranger.java @@ -242,9 +242,8 @@ public class UIControlArranger m_aButtonList.setShowButtons(false); // shows a button line at ''wrong'' position like |<| 1..4/4 |>| m_aButtonList.setRenderer(new LayoutRenderer()); m_aButtonList.setGap(new Size(3, 3)); -// m_aButtonList.scaleImages = Boolean.FALSE; m_aButtonList.tabIndex = curtabindex++; - m_aButtonList.helpURL = 34453 + (formindex * 4); + m_aButtonList.setHelpURL(34453 + (formindex * 4)); m_aButtonList.setListModel(model); m_aButtonList.create(CurUnoDialog); diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java index a129fe97c8fc..2fa7f4707c7e 100644 --- a/wizards/com/sun/star/wizards/ui/ButtonList.java +++ b/wizards/com/sun/star/wizards/ui/ButtonList.java @@ -61,7 +61,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener private String m_aControlName = "il"; private int m_nCurrentSelection = -1; private int pageStart = 0; - public int helpURL = 0; + private int helpURL = 0; private IRenderer renderer; private ListModel listModel; private IRenderer counterRenderer = new SimpleCounterRenderer(); @@ -72,6 +72,11 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener m_aControlName = _sName; } + public void setHelpURL(int _helpURL) + { + helpURL = _helpURL; + } + /** Setter for property m_aButtonSize. * @param imageSize New value of property m_aButtonSize. */