[Libreoffice-commits] .: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 1 00:52:22 PST 2012


 sd/source/ui/dlg/tpoption.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4cdb960a79aff565f956f618116f3ea4b3836aa4
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Sat Dec 1 09:49:21 2012 +0100

    sd: hide 'enable remote control' checkbox when built without bluetooth
    
    Change-Id: I3ee70bdf59abf71228a708f05dba07fd2a873128

diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index 6cdd463..8e81966 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -623,6 +623,9 @@ void SdTpOptionsMisc::SetImpressMode (void)
     // Move the printer-independent-metrics check box up two lines to change
     // places with spacing-between-paragraphs check box.
     lcl_MoveWin (aCbxUsePrinterMetrics, -2*nLineHeight);
+#ifndef ENABLE_SDREMOTE_BLUETOOTH
+    aCbxEnableSdremote.Hide();
+#endif
 }
 
 void    SdTpOptionsMisc::SetDrawMode()


More information about the Libreoffice-commits mailing list