summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-06-29 12:32:47 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-06-29 16:57:57 +0200
commitd121e7cdd408fa5afb73b16466df42baa52b6a1a (patch)
treea737f1685a4b581aa510184524ed28364bfa0fd3
parent5ebbb4e2b27d3fda6af410a553a196376d92034c (diff)
only hide Impress Remote option if there is no sdremote at all
it was incorrectly based on bluetooth support, but the remote can also be used in the local network. Regression from 4cdb960a79aff565f956f618116f3ea4b3836aa4 still worked for users who had it enabled in earlier versions, but not with new profiles. Change-Id: Ib4026c60fed0842b3bad483d78e46dd73d1d75f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136615 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r--sd/source/ui/dlg/tpoption.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index a612163f9493..0c534682de13 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -491,7 +491,7 @@ IMPL_LINK_NOARG(SdTpOptionsMisc, SelectMetricHdl_Impl, weld::ComboBox&, void)
void SdTpOptionsMisc::SetImpressMode()
{
-#ifndef ENABLE_SDREMOTE_BLUETOOTH
+#ifndef ENABLE_SDREMOTE
m_xCbxEnableSdremote->hide();
#else
(void) this; // loplugin:staticmethods