summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-03-18 15:26:48 +0000
committerKurt Zenker <kz@openoffice.org>2005-03-18 15:26:48 +0000
commit5c0abcf7f593138ac7d233b850edba87ed8e8727 (patch)
treefa59710a4e8200e06b9e2698d89352e332f7b226 /wizards
parent4c90258fa8d90140bdc2eadfe0852da2f872e93e (diff)
INTEGRATION: CWS dbwizard4 (1.4.40); FILE MERGED
2005/03/12 18:32:00 bc 1.4.40.2: RESYNC: (1.4-1.6); FILE MERGED 2005/02/17 13:50:28 bc 1.4.40.1: ##ControlArrangement in FormWizard modified
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/ui/UnoDialog2.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog2.java b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
index b1bb578d1b20..815108b4f20c 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog2.java
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
@@ -2,9 +2,9 @@
*
* $RCSfile: UnoDialog2.java,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: vg $ $Date: 2005-03-08 15:46:25 $
+ * last change: $Author: kz $ $Date: 2005-03-18 16:26:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,6 +68,7 @@ import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
+import com.sun.star.wizards.common.Desktop;
import com.sun.star.wizards.common.Helper;
import com.sun.star.wizards.common.SystemDialog;
import com.sun.star.wizards.ui.event.*;
@@ -199,9 +200,11 @@ public class UnoDialog2 extends UnoDialog implements EventNames {
}
public XControl insertInfoImage(int _posx, int _posy, int _iStep){
- return insertImage("imgHint",
+ XControl xImgControl = insertImage(Desktop.getUniqueName(xDlgNameAccess, "imgHint"),
new String[] {"Border", "Height", "ImageURL", "PositionX", "PositionY", "ScaleImage", "Step","Width"},
new Object[] { new Short((short)0), new Integer(10), UIConsts.INFOIMAGEURL, new Integer(_posx), new Integer(_posy), Boolean.FALSE, new Integer(_iStep), new Integer(10)});
+ super.getPeerConfiguration().setImageUrl(super.getModel(xImgControl), UIConsts.INFOIMAGEURL, UIConsts.INFOIMAGEURL_HC);
+ return xImgControl;
}