bundled/include/LibreOfficeKit/LibreOfficeKit.h | 10 ------- bundled/include/LibreOfficeKit/LibreOfficeKit.hxx | 29 ---------------------- 2 files changed, 39 deletions(-)
New commits: commit 07155e3b53132e368219634d011c29f38d5521df Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Thu Dec 13 15:05:13 2018 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu Dec 13 15:05:32 2018 +0200 Revert "Update from core master" Was reverted in core, too. This reverts commit cd389cb6b0fffa4ba1b2a8c6428252715774f09a. diff --git a/bundled/include/LibreOfficeKit/LibreOfficeKit.h b/bundled/include/LibreOfficeKit/LibreOfficeKit.h index 68074a637..4dd23a2cb 100644 --- a/bundled/include/LibreOfficeKit/LibreOfficeKit.h +++ b/bundled/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/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx b/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx index 923af7136..5d7771cf8 100644 --- a/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -791,35 +791,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 ); - } - - /** - * Fetch translation for a string corresponding to a specific number of something. - * - * @since LibreOffice 6.3 - * @returns the translated string, if available - * @param pId the context and string, separated by a '\004' character - * @param n the number - * @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. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits