summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/common/PropertySetHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/common/PropertySetHelper.java')
-rw-r--r--wizards/com/sun/star/wizards/common/PropertySetHelper.java34
1 files changed, 0 insertions, 34 deletions
diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.java b/wizards/com/sun/star/wizards/common/PropertySetHelper.java
index 660d4906f690..bebab376c0d0 100644
--- a/wizards/com/sun/star/wizards/common/PropertySetHelper.java
+++ b/wizards/com/sun/star/wizards/common/PropertySetHelper.java
@@ -17,13 +17,9 @@
*/
package com.sun.star.wizards.common;
-import com.sun.star.beans.Property;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.beans.XPropertySet;
-import com.sun.star.beans.XPropertySetInfo;
import com.sun.star.uno.AnyConverter;
-import com.sun.star.lang.XServiceInfo;
-
import java.util.HashMap;
public class PropertySetHelper
@@ -260,34 +256,4 @@ public class PropertySetHelper
}
return aObject;
}
-
-
-
- /**
- Debug helper, to show all properties which are available in the current object.
- */
- private void showProperties()
- {
- String sName = PropertyNames.EMPTY_STRING;
-
- if (m_xPropertySet != null)
- {
- XServiceInfo xServiceInfo = UnoRuntime.queryInterface(XServiceInfo.class, m_xPropertySet);
- if (xServiceInfo != null)
- {
- sName = xServiceInfo.getImplementationName();
- }
- XPropertySetInfo xInfo = m_xPropertySet.getPropertySetInfo();
- Property[] aAllProperties = xInfo.getProperties();
- DebugHelper.writeInfo("Show all properties of Implementation of :'" + sName + "'");
- for (int i = 0; i < aAllProperties.length; i++)
- {
- DebugHelper.writeInfo(" - " + aAllProperties[i].Name);
- }
- }
- else
- {
- DebugHelper.writeInfo("The given object don't support XPropertySet interface.");
- }
- }
}