summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-16 12:51:54 +0200
committerNoel Grandin <noel@peralex.com>2014-10-17 08:26:19 +0200
commit12b01b920f42666db84c8be1c9b6fd89a86eea4e (patch)
tree35a462009765a838e1381fe5d7614caed450daef /odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
parent3beae0f05d1c8c976dfcebe02c8830752d708c74 (diff)
java: no need to call String.valueOf to append to a String
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
Diffstat (limited to 'odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java')
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
index 109335f3cbea..c30115770325 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
@@ -49,7 +49,7 @@ class ExampleAddInResult implements com.sun.star.sheet.XVolatileResult
{
com.sun.star.sheet.ResultEvent aEvent =
new com.sun.star.sheet.ResultEvent();
- aEvent.Value = aName + " " + String.valueOf( nValue );
+ aEvent.Value = aName + " " + nValue;
aEvent.Source = this;
return aEvent;
}