summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/com/sun/star/wizards/ui/UnoDialog.java4
-rw-r--r--wizards/com/sun/star/wizards/ui/UnoDialog2.java6
2 files changed, 3 insertions, 7 deletions
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog.java b/wizards/com/sun/star/wizards/ui/UnoDialog.java
index ef6653714372..f23eda97319e 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog.java
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog.java
@@ -62,7 +62,7 @@ public class UnoDialog implements EventNames
return guiEventListener;
}
- public UnoDialog(XMultiServiceFactory xMSF, String[] PropertyNames, Object[] PropertyValues)
+ public UnoDialog(XMultiServiceFactory xMSF)
{
try
{
@@ -70,7 +70,7 @@ public class UnoDialog implements EventNames
ControlList = new HashMap<String, Integer>();
xDialogModel = (XInterface) xMSF.createInstance("com.sun.star.awt.UnoControlDialogModel");
XMultiPropertySet xMultiPSetDlg = UnoRuntime.queryInterface(XMultiPropertySet.class, xDialogModel);
- xMultiPSetDlg.setPropertyValues(PropertyNames, PropertyValues);
+ xMultiPSetDlg.setPropertyValues(new String[0], new Object[0]);
MSFDialogModel = UnoRuntime.queryInterface(XMultiServiceFactory.class, xDialogModel);
xUnoDialog = (XInterface) xMSF.createInstance("com.sun.star.awt.UnoControlDialog");
xControl = UnoRuntime.queryInterface(XControl.class, xUnoDialog);
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog2.java b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
index 9a09ba0f8666..ab41e0e5eded 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog2.java
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
@@ -40,11 +40,7 @@ public class UnoDialog2 extends UnoDialog
public UnoDialog2(XMultiServiceFactory xmsf)
{
- super(xmsf, new String[]
- {
- }, new Object[]
- {
- });
+ super(xmsf);
}
public XButton insertButton(String sName, String actionPerformed, Object eventTarget, String[] sPropNames, Object[] oPropValues)