From 195cb01573cbc92545cbc84cbb7dd09bbb4ae692 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Mon, 10 Oct 2022 22:39:27 -0400 Subject: [PATCH] tdf#148806 fix build for !HAVE_FEATURE_SCRIPTING I noticed this on one function, but completely missed it on the second one. Change-Id: I6ca74485b0c40cec2b04003fe894159198186ebf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141220 Tested-by: Jenkins Reviewed-by: Justin Luth --- filter/source/msfilter/msvbahelper.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx index a4e954531155..59d34ca5cec1 100644 --- a/filter/source/msfilter/msvbahelper.cxx +++ b/filter/source/msfilter/msvbahelper.cxx @@ -270,6 +270,7 @@ OUString resolveVBAMacro(SfxObjectShell const* pShell, const OUString& rLibName, (void) rLibName; (void) rModuleName; (void) rMacroName; + (void) bOnlyPublic; #else if( pShell ) {