summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/db/ColumnPropertySet.java7
-rw-r--r--wizards/com/sun/star/wizards/db/TableDescriptor.java2
2 files changed, 7 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
index 484dbf62fa9f..991d1f52ac1c 100644
--- a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
+++ b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
@@ -27,7 +27,7 @@ public class ColumnPropertySet
{
private TypeInspector oTypeInspector;
- public XPropertySet xPropertySet;
+ private XPropertySet xPropertySet;
private int nType;
private String sTypeName = PropertyNames.EMPTY_STRING;
@@ -37,6 +37,11 @@ public class ColumnPropertySet
oTypeInspector = _oTypeInspector;
}
+ public XPropertySet getPropertySet()
+ {
+ return xPropertySet;
+ }
+
private void assignPropertyValues(String _sNewName, PropertyValue[] _aNewColPropertyValues, boolean _bsetDefaultProperties)
{
try
diff --git a/wizards/com/sun/star/wizards/db/TableDescriptor.java b/wizards/com/sun/star/wizards/db/TableDescriptor.java
index fca26198922f..a2e71f07b70c 100644
--- a/wizards/com/sun/star/wizards/db/TableDescriptor.java
+++ b/wizards/com/sun/star/wizards/db/TableDescriptor.java
@@ -607,7 +607,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
{
ColumnPropertySet oPropertySet = new ColumnPropertySet(oTypeInspector, xColumnDataDescriptorFactory.createDataDescriptor());
oPropertySet.assignPropertyValues(_aNewPropertyValues, true);
- ColumnDescriptor oColumnDescriptor = new ColumnDescriptor(oPropertySet.xPropertySet, sname);
+ ColumnDescriptor oColumnDescriptor = new ColumnDescriptor(oPropertySet.getPropertySet(), sname);
this.columncontainer.add(oColumnDescriptor);
return true;
}