diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-10 19:47:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-10 22:12:04 +0200 |
commit | c54da86b850e079b4d6f0249fe7c5956ed5c400a (patch) | |
tree | b0da769740ca4bf6d09bfa9c917e31a2986b4929 /filter | |
parent | ab0bb71280999ef7c11c341f5269ea98019fe4c3 (diff) |
add some --disable-scripting fixes
Change-Id: I45f08bce8e067ead82f4c73c8150b7027c083172
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120288
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/msvbahelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx index 3f28fb1385ff..d682eb954e85 100644 --- a/filter/source/msfilter/msvbahelper.cxx +++ b/filter/source/msfilter/msvbahelper.cxx @@ -224,6 +224,8 @@ static bool hasMacro( SfxObjectShell const * pShell, const OUString& sLibrary, O #endif +#if HAVE_FEATURE_SCRIPTING + OUString getDefaultProjectName( SfxObjectShell const * pShell ) { OUString aPrjName; @@ -236,8 +238,6 @@ OUString getDefaultProjectName( SfxObjectShell const * pShell ) return aPrjName; } -#if HAVE_FEATURE_SCRIPTING - static void parseMacro( const OUString& sMacro, OUString& sContainer, OUString& sModule, OUString& sProcedure ) { sal_Int32 nMacroDot = sMacro.lastIndexOf( '.' ); |