diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-17 14:59:35 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-19 07:52:08 +0000 |
commit | 8d87758d65e4a03271f76e354dfc84c1fcd5fe21 (patch) | |
tree | bc8f4f0df6981ad10fe1333db1a2b015ea079709 /odk/examples/java/Spreadsheet/CalcAddins.java | |
parent | d62425cc27e04a3237cfec2ea2663b8b11284ec8 (diff) |
Java cleanup, remove the rest of the unnecessary casts
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa
Reviewed-on: https://gerrit.libreoffice.org/3432
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'odk/examples/java/Spreadsheet/CalcAddins.java')
-rw-r--r-- | odk/examples/java/Spreadsheet/CalcAddins.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/java/Spreadsheet/CalcAddins.java b/odk/examples/java/Spreadsheet/CalcAddins.java index 0a417acae50e..d658a4f4fafa 100644 --- a/odk/examples/java/Spreadsheet/CalcAddins.java +++ b/odk/examples/java/Spreadsheet/CalcAddins.java @@ -100,14 +100,14 @@ public class CalcAddins { public int getMyFirstValue( com.sun.star.beans.XPropertySet xOptions ) { - return (int) 1; + return 1; } public int getMySecondValue( com.sun.star.beans.XPropertySet xOptions, int intDummy ) { - return( (int) ( 2 + intDummy ) ); + return( 2 + intDummy ); } |