diff options
author | Pranam Lashkari <lpranam@collabora.com> | 2021-07-16 16:42:04 +0530 |
---|---|---|
committer | Pranam Lashkari <lpranam@collabora.com> | 2021-08-16 09:01:54 +0200 |
commit | f4538c29079a4a940540e5194075aaeee4d0ba3a (patch) | |
tree | efd53c560ff818aab021a696a5dae0855611cd70 /desktop | |
parent | 085797cb5c26a274328fa639a8100bd52cd9652d (diff) |
LOK: freemium: added new parameter in the API
Added new parameter in the freemium API to make it consistent with other APIs
Change-Id: Ieb73fd1f97e1886051b1de44a93ba87622862e2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119974
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120484
Tested-by: Jenkins
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 0eecb2b4b352..18ee858c72c0 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1043,9 +1043,12 @@ static void doc_postKeyEvent(LibreOfficeKitDocument* pThis, int nType, int nCharCode, int nKeyCode); -static void doc_setFreemiumDenyList(const char* freemiumDenyList); +static void doc_setFreemiumDenyList(LibreOfficeKitDocument* pThis, + const char* freemiumDenyList); -static void doc_setFreemiumView(int nViewId, bool isFreemium); +static void doc_setFreemiumView(LibreOfficeKitDocument* pThis, + int nViewId, + bool isFreemium); static void doc_postWindowExtTextInputEvent(LibreOfficeKitDocument* pThis, unsigned nWindowId, @@ -3557,12 +3560,12 @@ static void doc_postKeyEvent(LibreOfficeKitDocument* pThis, int nType, int nChar } } -static void doc_setFreemiumDenyList(const char* freemiumDenyList) +static void doc_setFreemiumDenyList(LibreOfficeKitDocument* /*pThis*/, const char* freemiumDenyList) { comphelper::LibreOfficeKit::setFreemiumDenyList(freemiumDenyList); } -static void doc_setFreemiumView(int nViewId, bool isFreemium) +static void doc_setFreemiumView(LibreOfficeKitDocument* /*pThis*/, int nViewId, bool isFreemium) { SolarMutexGuard aGuard; SfxLokHelper::setFreemiumView(nViewId, isFreemium); |