[Libreoffice-commits] .: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 18 11:44:34 PDT 2012


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

New commits:
commit 06dd3f641a26e5c17ed5d8ed3ab3463455ec5fc2
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date:   Tue Sep 18 20:42:58 2012 +0200

    Hopefully the last ENABLE_SDREMOTE fix.
    
    Change-Id: I1165ec0090b127468d162cbe60f5f2195ad41e78

diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index 288ad29..1eb0710 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()


More information about the Libreoffice-commits mailing list