summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2012-09-18 20:42:58 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2012-09-18 20:44:04 +0200
commit06dd3f641a26e5c17ed5d8ed3ab3463455ec5fc2 (patch)
tree564cf1c6d6c130577d2d5b2a4052d5b6548158b8 /sd
parent56dcf84da2c4bf37c151610188d8f47715b538e2 (diff)
Hopefully the last ENABLE_SDREMOTE fix.
Change-Id: I1165ec0090b127468d162cbe60f5f2195ad41e78
Diffstat (limited to 'sd')
-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 288ad2971281..1eb0710d4a57 100644
--- a/sd/source/ui/dlg/RemoteDialog.cxx
+++ b/sd/source/ui/dlg/RemoteDialog.cxx
@@ -25,6 +25,7 @@ RemoteDialog::RemoteDialog( Window *pWindow ) :
mClientBox( this, NULL, SdResId( LB_SERVERS ) ),
mPreviouslyDiscoverable()
{
+#ifdef ENABLE_SDREMOTE
FreeResource();
mPreviouslyDiscoverable = RemoteServer::isBluetoothDiscoverable();
@@ -42,6 +43,7 @@ RemoteDialog::RemoteDialog( Window *pWindow ) :
mButtonConnect.SetClickHdl( LINK( this, RemoteDialog, HandleConnectButton ) );
SetCloseHdl( LINK( this, RemoteDialog, CloseHdl ) );
mButtonCancel.SetClickHdl( LINK( this, RemoteDialog, CloseHdl ) );
+#endif
}
RemoteDialog::~RemoteDialog()