This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch AOO50X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 0f4a7aa3ab88878aa53fe2daeb4dca58ec298edf Author: Damjan Jovanovic <[email protected]> AuthorDate: Tue Sep 22 20:42:14 2026 +0200 java.lang.Boolean can't be cast to com.sun.star.uno.Any. In Java, UNO's "Any" is java.lang.Object. Patch by: me (cherry picked from commit 7826359d221fc59714335fac155fb85bfeea0326) --- main/wizards/com/sun/star/wizards/db/DBMetaData.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/wizards/com/sun/star/wizards/db/DBMetaData.java b/main/wizards/com/sun/star/wizards/db/DBMetaData.java index 4f0ecd46e9..b982615d10 100644 --- a/main/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/main/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -77,7 +77,6 @@ import com.sun.star.wizards.common.NumberFormatter; import com.sun.star.wizards.common.Properties; import com.sun.star.wizards.common.Resource; import com.sun.star.wizards.common.SystemDialog; -import com.sun.star.uno.Any; import com.sun.star.wizards.common.PropertyNames; import java.util.Vector; import java.util.logging.Level; @@ -783,7 +782,7 @@ public class DBMetaData try { ensureDataSourceSettings(); - Any primaryKeySupport = (Any)m_dataSourceSettings.getPropertyValue( "PrimaryKeySupport" ); + Object primaryKeySupport = m_dataSourceSettings.getPropertyValue( "PrimaryKeySupport" ); if ( AnyConverter.isVoid( primaryKeySupport ) ) supportsPrimaryKeys = supportsCoreSQLGrammar(); else
