diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-01-29 07:40:34 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-01-29 07:40:34 +0000 |
commit | 3ffdaa378d16c27335038e37cc9114fe07954998 (patch) | |
tree | 508f494a8099ff68b4457b991acf994b0a6a8887 | |
parent | INTEGRATION: CWS tkr07 (1.18.2); FILE MERGED (diff) | |
download | core-3ffdaa378d16c27335038e37cc9114fe07954998.tar.gz core-3ffdaa378d16c27335038e37cc9114fe07954998.zip |
INTEGRATION: CWS dba24e_SRC680 (1.4.120); FILE MERGED
2007/12/19 12:28:43 oj 1.4.120.1: #i84339# handle refcount by releasing the objects as early as possible, gc is not alsways the best way to trust :-)
-rw-r--r-- | wizards/com/sun/star/wizards/agenda/TopicsControl.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.java b/wizards/com/sun/star/wizards/agenda/TopicsControl.java index f1ce271ffc29..c11aaaca2ffe 100644 --- a/wizards/com/sun/star/wizards/agenda/TopicsControl.java +++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.java @@ -4,9 +4,9 @@ * * $RCSfile: TopicsControl.java,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: vg $ $Date: 2006-04-07 12:29:42 $ + * last change: $Author: vg $ $Date: 2008-01-29 08:40:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -173,17 +173,17 @@ public class TopicsControl extends ControlScroller implements XFocusListener Object lastTime = ((ControlRow)ControlGroupVector.get(nblockincrement -1 )).timebox; MethodInvocation mi = new MethodInvocation("lastControlKeyPressed", this, KeyEvent.class); - dialog.guiEventListener.add( TIME + ( nblockincrement - 1), EventNames.EVENT_KEY_PRESSED, mi); + dialog.getGuiEventListener().add( TIME + ( nblockincrement - 1), EventNames.EVENT_KEY_PRESSED, mi); - addKeyListener(lastTime, (XKeyListener) dialog.guiEventListener); + addKeyListener(lastTime, (XKeyListener) dialog.getGuiEventListener()); //prepare scroll up on tab press... firstTopic = ((ControlRow)ControlGroupVector.get(0)).textbox; mi = new MethodInvocation("firstControlKeyPressed", this, KeyEvent.class); - dialog.guiEventListener.add( TOPIC + 0 , EventNames.EVENT_KEY_PRESSED, mi); + dialog.getGuiEventListener().add( TOPIC + 0 , EventNames.EVENT_KEY_PRESSED, mi); - addKeyListener(firstTopic, (XKeyListener) dialog.guiEventListener); + addKeyListener(firstTopic, (XKeyListener) dialog.getGuiEventListener()); } catch (NoSuchMethodException ex) { |