sd/source/ui/dlg/tpoption.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d121e7cdd408fa5afb73b16466df42baa52b6a1a
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Wed Jun 29 12:32:47 2022 +0200
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Wed Jun 29 16:57:57 2022 +0200

    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+libreoff...@googlemail.com>

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

Reply via email to