summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.hxx10
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.