summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-01 15:54:52 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-01 15:56:33 -0500
commit6ee08cc0f1e3b38f21bd4d1cc47412ce38bb13e6 (patch)
tree5dbd22493402259b6088ca01e6cfeb7ca9ba2b15
parentb3553246c6e1e444681ef5cc2987d693edc01f12 (diff)
Get sd to build even when impress remote is disabled.
Change-Id: I8706d08ab8abe05ea76ea65210726911e446c20b
-rw-r--r--sd/source/ui/dlg/RemoteDialog.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index 2765eb290a47..60fd783396e6 100644
--- a/sd/source/ui/dlg/RemoteDialog.cxx
+++ b/sd/source/ui/dlg/RemoteDialog.cxx
@@ -73,7 +73,9 @@ IMPL_LINK_NOARG(RemoteDialog, HandleConnectButton)
IMPL_LINK_NOARG( RemoteDialog, CloseHdl )
{
+#ifdef ENABLE_SDREMOTE
RemoteServer::restoreDiscoverable();
+#endif
Close();
return 0;
}