diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-11 12:28:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-11 15:08:34 +0200 |
commit | b55572c8abe2d01e5d8489b6ff32f72fa32bfea2 (patch) | |
tree | 93ee5f38e761c95b33a13db6ca89556d7bca5fd2 /include/sfx2 | |
parent | cc08616bbe9178fdba94445a81090dad1a8cd1dc (diff) |
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')
-rw-r--r-- | include/sfx2/objsh.hxx | 2 |
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(); |