summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-09-01 12:46:21 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-09-01 20:33:52 +0200
commit740c0a33816fc979e5facb731e2d23e9a8411c75 (patch)
tree74b2a733a2a5eb63c09ebec45d2d42a389a2500b /wizards
parente640d4e47366548ab1f2d938db1d9256ebfdbe70 (diff)
cid#1607081 PA: Public Attribute
Change-Id: I8b2e8bce03062ffe4c721ac3d3db64b6bd3f15eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172721 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
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;
}