This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 6c6152cef718882dd13b1f34cd72a257d7ce94ca Author: Damjan Jovanovic <[email protected]> AuthorDate: Tue Sep 22 20:42:55 2026 +0200 Read the catalog and schema from the new table object, not the table descriptor used to create it. This avoids an exception when the table descriptor's CatalogName property returns VOID instead of a string. Patch by: me --- main/wizards/com/sun/star/wizards/db/TableDescriptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/wizards/com/sun/star/wizards/db/TableDescriptor.java b/main/wizards/com/sun/star/wizards/db/TableDescriptor.java index d2262f7f6b..641b5f7a92 100644 --- a/main/wizards/com/sun/star/wizards/db/TableDescriptor.java +++ b/main/wizards/com/sun/star/wizards/db/TableDescriptor.java @@ -775,8 +775,8 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen { XPropertySet xTablePropertySet = UnoRuntime.queryInterface(XPropertySet.class, arg0.Element); String stablename = AnyConverter.toString(xTablePropertySet.getPropertyValue(PropertyNames.PROPERTY_NAME)); - String sschemaname = AnyConverter.toString(xPropTableDataDescriptor.getPropertyValue("SchemaName")); - String scatalogname = AnyConverter.toString(xPropTableDataDescriptor.getPropertyValue("CatalogName")); + String sschemaname = AnyConverter.toString(xTablePropertySet.getPropertyValue("SchemaName")); + String scatalogname = AnyConverter.toString(xTablePropertySet.getPropertyValue("CatalogName")); ComposedTableName = new CommandName(this, scatalogname, sschemaname, stablename, false); appendTableNameToFilter(ComposedTableName.getComposedName()); }
