summaryrefslogtreecommitdiff
path: root/odk/examples/java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java')
-rw-r--r--odk/examples/java/Drawing/SDraw.java2
-rw-r--r--odk/examples/java/Inspector/UnoNode.java2
2 files changed, 1 insertions, 3 deletions
diff --git a/odk/examples/java/Drawing/SDraw.java b/odk/examples/java/Drawing/SDraw.java
index f48f485854b8..a70a9288e01f 100644
--- a/odk/examples/java/Drawing/SDraw.java
+++ b/odk/examples/java/Drawing/SDraw.java
@@ -39,8 +39,6 @@
-import java.lang.Math;
-
import com.sun.star.uno.UnoRuntime;
public class SDraw {
diff --git a/odk/examples/java/Inspector/UnoNode.java b/odk/examples/java/Inspector/UnoNode.java
index 965f8aa0ad0a..c4789303dd45 100644
--- a/odk/examples/java/Inspector/UnoNode.java
+++ b/odk/examples/java/Inspector/UnoNode.java
@@ -330,7 +330,7 @@ public class UnoNode{
if ( xServiceInfo != null ) {
return xServiceInfo.getImplementationName();
}
- if (Introspector.isObjectPrimitive(_oUnoObject)){ //super.isO{sObjectClassName.equals("java.lang.String"))issClassName.equals("java.lang.String"))
+ if (Introspector.isObjectPrimitive(_oUnoObject)){ //super.isO{sObjectClassName.equals("String"))issClassName.equals("String"))
return _oUnoObject.toString();
}
else{