[Libreoffice-commits] core.git: sd/source

Michael Meeks michael.meeks at suse.com
Tue Feb 19 02:08:13 PST 2013


 sd/source/ui/remotecontrol/BluetoothServer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0c3d3d58c9a88a682dcb673f8727390a602fec55
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Tue Feb 19 10:07:29 2013 +0000

    sdremote: fix linux conditional.
    
    Change-Id: I911863f07b08e771d78a4a98d9a4f82c93a7d55e

diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 5692406..94276b5 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -625,11 +625,11 @@ void BluetoothServer::restoreDiscoverable()
 
 void BluetoothServer::doEnsureDiscoverable()
 {
+#ifdef LINUX_BLUETOOTH
     if (!spServer->mpImpl->mpConnection ||
         spServer->meWasDiscoverable != UNKNOWN )
         return;
 
-#ifdef LINUX_BLUETOOTH
     // Find out if we are discoverable already ...
     DBusObject *pAdapter = spServer->mpImpl->getAdapter();
     if( !pAdapter )


More information about the Libreoffice-commits mailing list