diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-04-15 11:10:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-04-15 13:20:16 +0200 |
commit | 98f8e3a94a1b0346311dbd5eb1d0d6206eaa13e7 (patch) | |
tree | 7e10515037d0c6059512dd4fd6d13ab569579318 /sfx2 | |
parent | f516f6753d87d963c06953c60e6ad56112c191be (diff) |
ofz#21701 fix DISABLE_DYNLOADING case
Change-Id: I8b63c032e8421d3001bb318ddbdc8cffcfa5212b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92253
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/getbasctlfunction.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/getbasctlfunction.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/appl/getbasctlfunction.cxx b/sfx2/source/appl/getbasctlfunction.cxx index 4f272919174a..fd7f4873017e 100644 --- a/sfx2/source/appl/getbasctlfunction.cxx +++ b/sfx2/source/appl/getbasctlfunction.cxx @@ -30,6 +30,7 @@ #include "getbasctlfunction.hxx" #if HAVE_FEATURE_SCRIPTING +#ifndef DISABLE_DYNLOADING extern "C" { static void thisModule() {} } @@ -58,5 +59,6 @@ oslGenericFunction sfx2::getBasctlFunction(char const* name) } #endif +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/sfx2/source/appl/getbasctlfunction.hxx b/sfx2/source/appl/getbasctlfunction.hxx index 98f9db47a929..5fa4bc557094 100644 --- a/sfx2/source/appl/getbasctlfunction.hxx +++ b/sfx2/source/appl/getbasctlfunction.hxx @@ -24,6 +24,7 @@ #include <osl/module.h> +#ifndef DISABLE_DYNLOADING #if HAVE_FEATURE_SCRIPTING namespace sfx2 @@ -32,5 +33,6 @@ oslGenericFunction getBasctlFunction(char const* name); } #endif +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |