diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-21 15:43:23 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-21 15:43:23 +0000 |
commit | 43ba28e86efab61e229cb7a0dc3d6bbeff95aba1 (patch) | |
tree | 4fdae8cf5cb683a67b18d4eb061740a42f23a94c /wizards | |
parent | 8119b87f2096f6b3dc433e5909b9748be92e293b (diff) |
INTEGRATION: CWS dba24c (1.11.14); FILE MERGED
2007/09/11 12:43:03 fs 1.11.14.1: #i75189# use super's ctor which takes a ModuleIdentifier
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/form/FormDocument.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/wizards/com/sun/star/wizards/form/FormDocument.java b/wizards/com/sun/star/wizards/form/FormDocument.java index ea31b4cca548..1c8c55a4c2b6 100644 --- a/wizards/com/sun/star/wizards/form/FormDocument.java +++ b/wizards/com/sun/star/wizards/form/FormDocument.java @@ -4,9 +4,9 @@ * * $RCSfile: FormDocument.java,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: ihi $ $Date: 2007-04-16 16:52:19 $ + * last change: $Author: ihi $ $Date: 2007-11-21 16:43:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -88,10 +88,8 @@ public class FormDocument extends TextDocument { final static String SOMAINFORM = "MainForm"; final static String SOSUBFORM = "SubForm"; - private final static PropertyValue MODULE_IDENTIFIER = new PropertyValue( "ModuleIdentifier", -1, "com.sun.star.sdb.FormDesign", com.sun.star.beans.PropertyState.DIRECT_VALUE ); - public FormDocument(XMultiServiceFactory xMSF, Resource oResource) { - super(xMSF, new PropertyValue[]{ MODULE_IDENTIFIER }, true, null); + super(xMSF, new TextDocument.ModuleIdentifier( "com.sun.star.sdb.FormDesign" ), true); try { oFormHandler = new FormHandler(xMSF, xTextDocument); oFormHandler.setDrawObjectsCaptureMode(false); |