include/LibreOfficeKit/LibreOfficeKit.hxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
New commits: commit 5f0dda8e9f2e35e1fdb5750089a70543478fa8a1 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Mon Dec 10 19:41:08 2018 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Mon Dec 10 19:41:08 2018 +0200 Add inline implementations of the C++ translate functions Change-Id: I749fa9d647bf55925fad862152b673ced312ee34 diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 93a0717ae588..923af7136b93 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -801,7 +801,10 @@ public: * @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 ); + 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. @@ -813,7 +816,10 @@ public: * @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 ); + 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