summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-12-13 17:21:46 +0200
committerTor Lillqvist <tml@collabora.com>2018-12-13 17:40:43 +0200
commitd7533cbaf810b5d678678bb9d3b00e4c9e41a520 (patch)
tree9d13a87b1de4d450b09e52f90262119e1d9f3d01 /include
parenttdf#121734: ww8 import: use direct formatting for floating object frames (diff)
downloadcore-d7533cbaf810b5d678678bb9d3b00e4c9e41a520.tar.gz
core-d7533cbaf810b5d678678bb9d3b00e4c9e41a520.zip
Revert "Add a localisation API to LibreOfficeKitClass"
Was reverted in master, too. The functionality is implemented differently now in the iOS app, without requiring any new methods in LibreOfficeKitClass. This reverts commit 36beb79184e5f4153c8cc92b176b21b697594228. Change-Id: Ic0c42848c81a9b48e50a2b01a0a5a98ef5220870
Diffstat (limited to 'include')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.h10
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.hxx29
2 files changed, 0 insertions, 39 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h
index 583e5b7f23d7..0581513d7701 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.h
+++ b/include/LibreOfficeKit/LibreOfficeKit.h
@@ -94,16 +94,6 @@ struct _LibreOfficeKitClass
@since LibreOffice 6.0
*/
int (*runMacro) (LibreOfficeKit *pThis, const char* pURL);
-
- /** @see lok::Office::translateGet().
- @since LibreOffice 6.3
- */
- char* (*translateGet) (LibreOfficeKit *pThis, const char* pId, const char* pPrefixName, const char* pBcp47LanguageTag);
-
- /** @see lok::Office::translateNGet().
- @since LibreOffice 6.3
- */
- char* (*translateNGet) (LibreOfficeKit *pThis, const char* pId, int n, const char* pPrefixName, const char* pBcp47LanguageTag);
};
#define LIBREOFFICEKIT_DOCUMENT_HAS(pDoc,member) LIBREOFFICEKIT_HAS_MEMBER(LibreOfficeKitDocumentClass,member,(pDoc)->pClass->nSize)
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
index f0e77bdb40ec..ffcb87f4e5d0 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
@@ -763,35 +763,6 @@ public:
{
return mpThis->pClass->runMacro( mpThis, pURL );
}
-
- /**
- * Fetch translation for a string.
- *
- * @since LibreOffice 6.3
- * @returns the translated string, if available
- * @param pId the context and string, separated by a '\004' character
- * @param pPrefixName the prefix passed to Translate::Create()
- * @param pBcp47LanguageTag the locale into which the string should be translated
- */
- char* translateGet( const char* pId, const char* pPrefixName, const char* pBcp47LanguageTag )
- {
- return mpThis->pClass->translateGet( mpThis, pId, pPrefixName, pBcp47LanguageTag );
- }
-
- /**
- * In this branch this is equivalent to translateGet().
- *
- * @since LibreOffice 6.3
- * @returns the translated string, if available
- * @param pId the context and string, separated by a '\004' character
- * @param n Ignored in this branch
- * @param pPrefixName the prefix passed to Translate::Create()
- * @param pBcp47LanguageTag the locale into which the string should be translated
- */
- char* translateNGet( const char* pId, int n, const char* pPrefixName, const char* pBcp47LanguageTag )
- {
- return mpThis->pClass->translateNGet( mpThis, pId, n, pPrefixName, pBcp47LanguageTag );
- }
};
/// Factory method to create a lok::Office instance.