[Libreoffice-commits] .: tubes/source

Matus Kukan mkukan at kemper.freedesktop.org
Fri Jul 20 13:13:44 PDT 2012


 tubes/source/manager.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 179283359fe6167a6a499fe2abd4800ca142755a
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Fri Jul 20 22:12:19 2012 +0200

    tubes: use SAL_WARN SAL_LOG
    
    Change-Id: Ic0c291183c63bb5c4a0a7e54f80c3c8f23349a3d

diff --git a/tubes/source/manager.cxx b/tubes/source/manager.cxx
index f6642f2..768492b 100644
--- a/tubes/source/manager.cxx
+++ b/tubes/source/manager.cxx
@@ -183,8 +183,7 @@ bool TeleManager::hasWaitingConference()
 // FIXME this is exported only because of ScDocFuncDemo
 SAL_DLLPUBLIC_EXPORT void TeleManager_fileReceived( const rtl::OUString &rStr )
 {
-    fprintf( stderr, "incoming file '%s'\n",
-             rtl::OUStringToOString( rStr, RTL_TEXTENCODING_UTF8 ).getStr() );
+    SAL_INFO( "tubes", "TeleManager_fileReceived: incoming file: " << rStr );
 
     css::uno::Reference< css::lang::XMultiServiceFactory > rFactory =
         ::comphelper::getProcessServiceFactory();
@@ -202,8 +201,7 @@ SAL_DLLPUBLIC_EXPORT void TeleManager_fileReceived( const rtl::OUString &rStr )
     }
     catch ( const css::uno::Exception& e )
     {
-        fprintf( stderr, "exception when loading '%s' !\n",
-                 rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
+        SAL_WARN( "tubes", "TeleManager_fileReceived: exception when loading: " << e.Message );
     }
 }
 


More information about the Libreoffice-commits mailing list