summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit/LibreOfficeKit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.hxx')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.hxx17
1 files changed, 4 insertions, 13 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
index 9215ffae6048..114438445350 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
@@ -787,23 +787,14 @@ public:
mpDoc->pClass->sendFormFieldEvent(mpDoc, pArguments);
}
- void setFreemiumDenyList(const char* freemiumDenyList)
+ void setBlockedCommandList(const char* bolckedCommandList)
{
- mpDoc->pClass->setFreemiumDenyList(mpDoc, freemiumDenyList);
+ mpDoc->pClass->setBlockedCommandList(mpDoc, bolckedCommandList);
}
- void setFreemiumView(int nViewId, bool isFreemium)
+ void setBlockedCommandView(int nViewId, const char* type, bool isBlocked)
{
- mpDoc->pClass->setFreemiumView(mpDoc, nViewId, isFreemium);
- }
- void setRestrictedCommandList(const char* restrictedCommandList)
- {
- mpDoc->pClass->setRestrictedCommandList(mpDoc, restrictedCommandList);
- }
-
- void setRestrictedView(int nViewId, bool isRestricted)
- {
- mpDoc->pClass->setRestrictedView(mpDoc, nViewId, isRestricted);
+ mpDoc->pClass->setBlockedCommandView(mpDoc, nViewId, type, isBlocked);
}
/**
* Render input search result to a bitmap buffer.