diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-05-29 11:27:40 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-05-29 16:23:07 +0200 |
commit | d7ddac208516ce2350c84c434aad933b345c9509 (patch) | |
tree | 6ca3b8af2fff138501c48b6e4235e38513292f3b /offapi | |
parent | ab1985d0b39e8bcc976543b9700e04610f434423 (diff) |
Remove recently unused CTLScriptType code
This is now unused after:
commit 98f7ec383db74a6491e925e30125d3fbf270afc2
Author: Khaled Hosny <khaled@libreoffice.org>
Date: Sun May 28 16:28:52 2023 +0300
tdf#139863, tdf#155514: Don’t split COMPLEX text portions
The code is also broken as it doesn’t handle surrogate pairs.
The UNO API now throws an exception.
Change-Id: I454ed741e3834e762a2731d671c21a3e73515da3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152359
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/i18n/CTLScriptType.idl | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/i18n/XScriptTypeDetector.idl | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/offapi/com/sun/star/i18n/CTLScriptType.idl b/offapi/com/sun/star/i18n/CTLScriptType.idl index 4bf0052b8de9..f4eb3f4ba834 100644 --- a/offapi/com/sun/star/i18n/CTLScriptType.idl +++ b/offapi/com/sun/star/i18n/CTLScriptType.idl @@ -26,6 +26,7 @@ module com { module sun { module star { module i18n { XScriptTypeDetector::getCTLScriptType() @since OOo 1.1.2 + @deprecated since LibreOffice 7.6 */ published constants CTLScriptType diff --git a/offapi/com/sun/star/i18n/XScriptTypeDetector.idl b/offapi/com/sun/star/i18n/XScriptTypeDetector.idl index 7220e57ec8fc..083e4f39abd1 100644 --- a/offapi/com/sun/star/i18n/XScriptTypeDetector.idl +++ b/offapi/com/sun/star/i18n/XScriptTypeDetector.idl @@ -51,15 +51,18 @@ published interface XScriptTypeDetector : ::com::sun::star::uno::XInterface [in] short nDefaultScriptDirection ); /** @returns the position where the specified CTL Script Type starts. + @deprecated since LibreOffice 7.6 */ long beginOfCTLScriptType( [in] string aText, [in] long nPos); /** @returns the position where the specified CTL Script Type ends. + @deprecated since LibreOffice 7.6 */ long endOfCTLScriptType( [in] string aText, [in] long nPos); /** @returns the CTL script type of the current position. <br/> One of CTLScriptType constants. + @deprecated since LibreOffice 7.6 */ short getCTLScriptType ([in] string aText, [in] long nPos); }; |