summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-03-04 14:25:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-03-06 07:56:50 +0100
commit7150ce717fb24893d5b527a0587cc166f7c6ec68 (patch)
treecdc20c9edde800641c19c819fdd178de8a3fb5a0 /qadevOOo/tests/java
parent7cdcf1bea77190744d381fde8d62582c21d712ef (diff)
remove deprecated IsGermanPreReform property
deprecated in 2008 (and seemingly never even implemented) Replace the use of this property in sample code and in Java unit tests with another property (I arbitrarily selected "IsIgnoreControlCharacters") Change-Id: I2cb474f895ac221952b59e98bfdbc01012095519 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164355 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'qadevOOo/tests/java')
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java1
-rw-r--r--qadevOOo/tests/java/mod/_lnn/Hyphenator.java6
2 files changed, 0 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java b/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java
index f81b496311fa..2c28fcd51bc6 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java
@@ -24,7 +24,6 @@ import lib.MultiPropertyTest;
* Testing <code>com.sun.star.linguistic2.LinguProperties</code>
* service properties:
* <ul>
-* <li><code>'IsGermanPreReform'</code></li>
* <li><code>'IsUseDictionaryList'</code></li>
* <li><code>'IsIgnoreControlCharacters'</code></li>
* <li><code>'IsSpellUpperCase'</code></li>
diff --git a/qadevOOo/tests/java/mod/_lnn/Hyphenator.java b/qadevOOo/tests/java/mod/_lnn/Hyphenator.java
index 40577a2115b7..c88eb621a6d4 100644
--- a/qadevOOo/tests/java/mod/_lnn/Hyphenator.java
+++ b/qadevOOo/tests/java/mod/_lnn/Hyphenator.java
@@ -24,9 +24,7 @@ import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
-import com.sun.star.beans.XPropertySet;
import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
/**
@@ -77,10 +75,6 @@ public class Hyphenator extends TestCase {
XMultiServiceFactory xMSF = Param.getMSF();
XInterface oObj = (XInterface)xMSF.createInstance
("com.sun.star.linguistic2.Hyphenator");
- Object LP = xMSF.createInstance
- ("com.sun.star.linguistic2.LinguProperties");
- XPropertySet LProps = UnoRuntime.queryInterface(XPropertySet.class,LP);
- LProps.setPropertyValue("IsGermanPreReform",Boolean.TRUE);
String Iname = util.utils.getImplName(oObj);
log.println("Implementation Name: "+Iname);