Kaydet (Commit) 2217eefc authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Add back getMyFirst/SecondValue methods

...erroneously removed by 34bcf9b4 "java: remove
dead methods"

Change-Id: Ic8e34eadb0d2f4d6abaa7ee243788dfcdffa7d1f
üst 474db92a
......@@ -89,11 +89,23 @@ public class CalcAddins {
private static final short shortGETMYFIRSTVALUE = 0;
private static final short shortGETMYSECONDVALUE = 1;
/** TO DO:
* This is where you implement all methods of your interface. The parameters have to
* be the same as in your IDL file and their types have to be the correct
* IDL-to-Java mappings of their types in the IDL file.
*/
public int getMyFirstValue(
com.sun.star.beans.XPropertySet xOptions
) {
return 1;
}
public int getMySecondValue(
com.sun.star.beans.XPropertySet xOptions,
int intDummy
) {
return( 2 + intDummy );
}
// Implement method from interface XServiceName
public String getServiceName() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment