[Libreoffice-commits] core.git: Branch 'feature/sdr-dbus-for-4-0' - sd/source
Michael Meeks
michael.meeks at suse.com
Tue Feb 19 02:08:45 PST 2013
sd/source/ui/remotecontrol/BluetoothServer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit da8cf16796b916552e4aa0ab294359f91a9b8c0e
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 69cc593..8706e67 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -633,11 +633,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