diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-13 10:08:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 10:24:10 +0200 |
commit | 34bcf9b498bccb5c924f4cec850ff15d88df6f07 (patch) | |
tree | 4d9604ec8c3b73639338ec45a0618b5daa5cf0ed /odk/examples/DevelopersGuide/Spreadsheet | |
parent | 347926e8e57c1825261daa46c1886aa2ebf9571b (diff) |
java: remove dead methods
found by UCDetector
Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
Diffstat (limited to 'odk/examples/DevelopersGuide/Spreadsheet')
-rw-r--r-- | odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java index 109335f3cbea..513bfa1517d4 100644 --- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java +++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java @@ -163,30 +163,9 @@ public class ExampleAddIn // XExampleAddIn - public int getIncremented( int nValue ) - { - return nValue + 1; - } - public com.sun.star.sheet.XVolatileResult getCounter(String aName) - { - if ( aResults == null ) - { - // create the table of results, and start a thread to increment - // all counters - aResults = new java.util.HashMap<String, ExampleAddInResult>(); - ExampleAddInThread aThread = new ExampleAddInThread( aResults ); - aThread.start(); - } - ExampleAddInResult aResult = aResults.get(aName); - if ( aResult == null ) - { - aResult = new ExampleAddInResult(aName); - aResults.put( aName, aResult ); - } - return aResult; - } + // XAddIn |