summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-01-29 07:41:53 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-01-29 07:41:53 +0000
commit8ca6330f0a5fb3139b59eca49a38697c2ae9565d (patch)
tree0685f928c4029592bdf7abadc23ec1047eafdfc9 /wizards
parent0788aa3e5a6cdb6eff8376109a669e3b2986edbd (diff)
INTEGRATION: CWS dba24e_SRC680 (1.14.38); FILE MERGED
2007/12/19 12:28:44 oj 1.14.38.1: #i84339# handle refcount by releasing the objects as early as possible, gc is not alsways the best way to trust :-)
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/form/FormWizard.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java
index 966ac17b8e19..e8ec20395eda 100644
--- a/wizards/com/sun/star/wizards/form/FormWizard.java
+++ b/wizards/com/sun/star/wizards/form/FormWizard.java
@@ -4,9 +4,9 @@
*
* $RCSfile: FormWizard.java,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: ihi $ $Date: 2007-04-16 16:52:35 $
+ * last change: $Author: vg $ $Date: 2008-01-29 08:41:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -37,11 +37,8 @@ package com.sun.star.wizards.form;
import com.sun.star.beans.PropertyValue;
import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.sdb.CommandType;
-import com.sun.star.uno.AnyConverter;
import com.sun.star.lang.XComponent;
import com.sun.star.wizards.common.*;
-import com.sun.star.wizards.db.DBMetaData;
import com.sun.star.wizards.db.RelationController;
import com.sun.star.wizards.document.OfficeDocument;
import com.sun.star.wizards.ui.*;
@@ -285,7 +282,7 @@ public class FormWizard extends WizardDialog{
XComponent[] ret = null;
try{
curFormDocument = new FormDocument(xMSF, oResource);
- if (curFormDocument.oMainFormDBMetaData.getConnection(CurPropertyValue)){
+ if (curFormDocument.oMainFormDBMetaData.getConnection(CurPropertyValue) ){
curFormDocument.oSubFormDBMetaData.getConnection(new PropertyValue[]{Properties.createProperty("ActiveConnection", curFormDocument.oMainFormDBMetaData.DBConnection)});
curFormDocument.xProgressBar.setValue(20);
buildSteps();