summaryrefslogtreecommitdiffstats
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-11 12:28:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-11 15:08:34 +0200
commitb55572c8abe2d01e5d8489b6ff32f72fa32bfea2 (patch)
tree93ee5f38e761c95b33a13db6ca89556d7bca5fd2 /include/sfx2/objsh.hxx
parentcolor drop downs missing their labels (diff)
downloadcore-b55572c8abe2d01e5d8489b6ff32f72fa32bfea2.tar.gz
core-b55572c8abe2d01e5d8489b6ff32f72fa32bfea2.zip
de-duplicate cut and paste function
Change-Id: I9569a10562e50ab5660a5638c518680c58fc97dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93961 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r--include/sfx2/objsh.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 568b0397f43b..be90b2bfa18f 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -398,6 +398,8 @@ public:
static bool UnTrustedScript(const OUString& rScriptURL);
+ static bool isScriptAccessAllowed(const css::uno::Reference<css::uno::XInterface>& rScriptContext);
+
SvKeyValueIterator* GetHeaderAttributes();
void ClearHeaderAttributesForSourceViewHack();
void SetHeaderAttributesForSourceViewHack();