summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-12-01 09:49:21 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-12-01 09:52:07 +0100
commit4cdb960a79aff565f956f618116f3ea4b3836aa4 (patch)
tree1a6786965041467eaac9975490fb345070f1ea6a /sd
parent214bfee28551ca6aaa9e70f2b2838faf536f06d9 (diff)
sd: hide 'enable remote control' checkbox when built without bluetooth
Change-Id: I3ee70bdf59abf71228a708f05dba07fd2a873128
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/tpoption.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index 6cdd46320ebf..8e819662efee 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()