[Libreoffice-commits] core.git: toolkit/test

Noel Grandin noel at peralex.com
Wed Jun 1 13:39:00 UTC 2016


 toolkit/test/accessibility/SelectionDialog.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d22f8bb62669f8bbfef13a5b6b55faf4584d70ec
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Jun 1 15:18:10 2016 +0200

    fix compile error in SelectionDialog (java unit test)
    
    I suspect that this code is not actually in use anymore
    
    Change-Id: I1888c4beec9add7d82e321ad09e1116d1205fbca

diff --git a/toolkit/test/accessibility/SelectionDialog.java b/toolkit/test/accessibility/SelectionDialog.java
index 64ce7fb..2f0c6d5 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.SelectionMode::Single);
+        maChildrenSelector.setSelectionMode (ListSelectionModel.SINGLE_SELECTION);
 
         JPanel aButtons = new JPanel();
         aButtons.setLayout( new FlowLayout() );


More information about the Libreoffice-commits mailing list