diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-17 13:54:28 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-19 07:51:41 +0000 |
commit | d62425cc27e04a3237cfec2ea2663b8b11284ec8 (patch) | |
tree | bc96f74a3460377c4d368ba2d3cbd56b2e8baa89 /forms/qa/integration/forms/ControlValidation.java | |
parent | a79d43dcd7989ee927de1b8c69ebc2981cc7166e (diff) |
Java cleanup, remove unnecessary casts
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f
Reviewed-on: https://gerrit.libreoffice.org/3431
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'forms/qa/integration/forms/ControlValidation.java')
-rw-r--r-- | forms/qa/integration/forms/ControlValidation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/qa/integration/forms/ControlValidation.java b/forms/qa/integration/forms/ControlValidation.java index 384238710d9a..55718f71adc1 100644 --- a/forms/qa/integration/forms/ControlValidation.java +++ b/forms/qa/integration/forms/ControlValidation.java @@ -87,7 +87,7 @@ public class ControlValidation extends complexlib.ComplexTestCase implements com // close our document if ( m_document != null ) { - XCloseable closeDoc = (XCloseable)UnoRuntime.queryInterface( XCloseable.class, + XCloseable closeDoc = UnoRuntime.queryInterface( XCloseable.class, m_document.getDocument() ); closeDoc.close( true ); } |