summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-02-28 16:33:59 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-02-29 07:54:30 +0100
commitc39b832e85ae9e172f51c77c40d74949afcc0ac3 (patch)
tree11f7527351374908cf7d533c67459f7200888789
parent6cc09586f583e6509cf7bda052f365ddc3bca16e (diff)
Avoid -Werror,-Wunused-but-set-variable for ENABLE_WASM_STRIP_PINGUSER
...after 607740654f2264e13469e4da1d020448217d7222 "Resolves tdf#131550 - Suppress Donate/Involve infobar if another is visible" Change-Id: I1d788a0f71a5baa8ce427631485643f0fd6e626d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164102 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r--sfx2/source/view/viewfrm.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 31fd9471455c..20e56a6c4076 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1714,6 +1714,8 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
officecfg::Setup::Product::LastTimeDonateShown::set(nNow, batch);
batch->commit();
}
+#else
+ (void) bIsInfobarShown;
#endif
break;