diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-29 17:12:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-30 06:41:28 +0000 |
commit | c47b170c71ecdcaacf2e12e5ce28e7d411bb52e6 (patch) | |
tree | d9cfdc4f6be613f7b2523a64978686f85cc5ed68 /toolkit | |
parent | 8ac4240efe975e9689e8dfc23dc3c1b88eee6dcf (diff) |
Convert SelectionMode to scoped enum
Change-Id: I86c435de3918540cb54a0cb24568e58456c2f9d1
Reviewed-on: https://gerrit.libreoffice.org/25611
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/test/accessibility/SelectionDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/test/accessibility/SelectionDialog.java b/toolkit/test/accessibility/SelectionDialog.java index 2f0c6d543446..64ce7fb9158c 100644 --- a/toolkit/test/accessibility/SelectionDialog.java +++ b/toolkit/test/accessibility/SelectionDialog.java @@ -68,7 +68,7 @@ class SelectionDialog extends JDialog maChildrenSelector = new JList (GetChildrenList()); maChildrenSelector.setPreferredSize (new Dimension (500,300)); aContent.add (maChildrenSelector, BorderLayout.CENTER); - maChildrenSelector.setSelectionMode (ListSelectionModel.SINGLE_SELECTION); + maChildrenSelector.setSelectionMode (ListSelectionModel.SelectionMode::Single); JPanel aButtons = new JPanel(); aButtons.setLayout( new FlowLayout() ); |