From 1528f6935e5f63103c6a4e901394fca46c243627 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 18 Aug 2022 10:19:13 +0100 Subject: [PATCH] cid#1327197 UwF: Unwritten field MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ib132101078a67803d21393c875e55f7a7bf8d225 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138471 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- qadevOOo/runner/util/DBTools.java | 5 ----- qadevOOo/tests/java/mod/_dbaccess/ORowSet.java | 1 - 2 files changed, 6 deletions(-) diff --git a/qadevOOo/runner/util/DBTools.java b/qadevOOo/runner/util/DBTools.java index 387ba57e8b57..1803395793ea 100644 --- a/qadevOOo/runner/util/DBTools.java +++ b/qadevOOo/runner/util/DBTools.java @@ -90,10 +90,6 @@ public class DBTools { */ public class DataSourceInfo { /** - * Representation of 'Name' property. - */ - public String Name = null ; - /** * Representation of 'URL' property. */ public String URL = null ; @@ -127,7 +123,6 @@ public class DBTools { XPropertySet props = UnoRuntime.queryInterface (XPropertySet.class, src) ; - if (Name != null) props.setPropertyValue("Name", Name) ; if (URL != null) props.setPropertyValue("URL", URL) ; if (Info != null) props.setPropertyValue("Info", Info) ; if (User != null) props.setPropertyValue("User", User) ; diff --git a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java index 6e0a758e00d4..7ed3f7001311 100644 --- a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java +++ b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java @@ -253,7 +253,6 @@ public class ORowSet extends TestCase { if (isMySQLDB) { DBTools.DataSourceInfo legacyDescriptor = dbTools.newDataSourceInfo(); - legacyDescriptor.Name = null; legacyDescriptor.User = srcInf.User; legacyDescriptor.Password = srcInf.Password; legacyDescriptor.Info = srcInf.Info; -- 2.11.4.GIT