sc/source/ui/view/tabvwshh.cxx | 2 ++ sfx2/source/appl/app.cxx | 1 + 2 files changed, 3 insertions(+)
New commits: commit d9fc8e10aa24d5b34f0d86f84286ba13cee8c563 Author: Caolán McNamara <[email protected]> AuthorDate: Thu Dec 28 23:28:43 2023 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Dec 29 12:34:39 2023 +0100 WaE: some --disable-scripting warnings Change-Id: I697293adb151e3f1ed57971ec203698383d2a237 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161398 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx index d1263590a895..cb835e62e317 100644 --- a/sc/source/ui/view/tabvwshh.cxx +++ b/sc/source/ui/view/tabvwshh.cxx @@ -125,6 +125,8 @@ void ScTabViewShell::ExecuteObject( const SfxRequest& rReq ) #if HAVE_FEATURE_SCRIPTING if (!bDone) SbxBase::SetError( ERRCODE_BASIC_BAD_PARAMETER ); // basic error +#else + (void)bDone; #endif } break; diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 6ae9810345e5..9ad046a12106 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -510,6 +510,7 @@ void SfxApplication::MacroOrganizer(weld::Window* pParent, const uno::Reference< #if !HAVE_FEATURE_SCRIPTING (void) pParent; (void) nTabId; + (void) xDocFrame; #else #ifndef DISABLE_DYNLOADING
