summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java b/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java
index 868af0874618..17064de55830 100644
--- a/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java
+++ b/scripting/java/com/sun/star/script/framework/browse/ProviderBrowseNode.java
@@ -145,8 +145,13 @@ public class ProviderBrowseNode extends PropertySet implements
result = false;
}
- LogUtils.DEBUG("***** ProviderBrowseNode.hasChildNodes(): " + "name=" + name +
+ if (container == null) {
+ LogUtils.DEBUG("***** ProviderBrowseNode.hasChildNodes(): " + "name=" + name +
+ ", path=<none>, result=" + result);
+ } else {
+ LogUtils.DEBUG("***** ProviderBrowseNode.hasChildNodes(): " + "name=" + name +
", path=" + container.getParcelContainerDir() + ", result=" + result);
+ }
return result;
}
@@ -256,4 +261,4 @@ public class ProviderBrowseNode extends PropertySet implements
public boolean hasProperty(String aName) {
return false;
}
-} \ No newline at end of file
+}