diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Forms/SalesFilter.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Forms/SalesFilter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java index df7e96aa2d64..e4c516160d0f 100644 --- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java +++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java @@ -107,7 +107,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis // for the button, we can add to the control only, not to the model // - clicking a button is something which happens on the _control_. DocumentViewHelper aView = m_aDocument.getCurrentView(); - XButton xButton = (XButton)aView.getFormControl( m_xApplyFilter, XButton.class ); + XButton xButton = aView.getFormControl( m_xApplyFilter, XButton.class ); xButton.addActionListener( this ); } catch ( com.sun.star.uno.Exception e ) |