diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-12-10 19:41:08 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-12-10 19:41:08 +0200 |
commit | 5f0dda8e9f2e35e1fdb5750089a70543478fa8a1 (patch) | |
tree | 389a55ede92a21e80892f024eae160a6e5568096 /include/LibreOfficeKit/LibreOfficeKit.hxx | |
parent | 4f1a341bc312673b8d92e4474cc39bc3ab69aa5b (diff) |
Add inline implementations of the C++ translate functions
Change-Id: I749fa9d647bf55925fad862152b673ced312ee34
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.hxx')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
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. |