[Libreoffice-commits] .: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 22 14:31:18 PDT 2012


 sd/source/ui/remotecontrol/BluetoothServer.cxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 89303460e906c2de0e424d8d44095a084565e379
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date:   Wed Aug 22 23:29:26 2012 +0200

    Get rid of my no longer needed fprintfs.
    
    Change-Id: Ic4878cb8c25e7a361d293968037430f7f956ddc1

diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index bcff4ad..0bbedb4 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -58,7 +58,6 @@ void BluetoothServer::execute()
     GDBusConnection* aConnection = g_bus_get_sync( G_BUS_TYPE_SYSTEM, NULL, &aError );
     if ( aError )
     {
-        fprintf( stderr, aError->message );
         g_error_free( aError );
     }
 
@@ -70,10 +69,9 @@ void BluetoothServer::execute()
     GVariant *aAdapterName = g_variant_get_child_value( aAdapter, 0 );
     if ( aError )
     {
-        fprintf( stderr, aError->message );
         g_error_free( aError );
     }
-    fprintf( stderr, (const char*) g_variant_get_string( aAdapterName, NULL ) );
+//     fprintf( stderr, (const char*) g_variant_get_string( aAdapterName, NULL ) );
 
 
 //     GDBusObjectManager* aManager = g_dbus_object_manager_client_new_sync( aConnection,
@@ -94,7 +92,6 @@ void BluetoothServer::execute()
                                 G_DBUS_CALL_FLAGS_NONE, -1, NULL, &aError);
     if ( aError )
     {
-        fprintf( stderr, aError->message );
         g_error_free( aError );
     }
     (void) aRecordHandle;
@@ -185,7 +182,7 @@ void BluetoothServer::execute()
         close( aSocket );
         return;
     } else {
-        fprintf( stderr, "Accepted Bluetooth\n" );
+//         fprintf( stderr, "Accepted Bluetooth\n" );
 
         Communicator* pCommunicator = new Communicator( new BufferedStreamSocket( bSocket) );
         mpCommunicators->push_back( pCommunicator );


More information about the Libreoffice-commits mailing list