• Stephan Bergmann's avatar
    Clean up integer types representing positions in ToolBox's item vector · 6e4d3bad
    Stephan Bergmann yazdı
    (vs. uses of sal_uInt16 representing such items' IDs).  APPEND and ITEM_NOTFOUND
    are members of ToolBox now (and have been bumped to the corresponding type's
    max).  The payload of VclEventIds
    
      ToolboxButtonStateChanged
      ToolboxClick
      ToolboxHighlightOff
      ToolboxItemAdded
      ToolboxItemDisabled
      ToolboxItemEnabled
      ToolboxItemRemoved
      ToolboxItemTextChanged
      ToolboxItemUpdated
      ToolboxItemWindowChanged
      ToolboxSelect
    
    has been changed too (note that reading/writing of those payloads isn't very
    consistent, though: for some of these, values are written that are never read,
    while for some others no values are ever written but the reading code would like
    to receive some value if the payload wasn't a nullptr).
    
    Change-Id: I4856ffb3637404b8d866621a3503d7922b1b8141
    6e4d3bad
navtoolbar.cxx 25.5 KB