diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-03 15:40:04 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-04 01:57:13 +0200 |
commit | 0c9aae91bcbd0cb7b0f0f7e8631aa4aeebb20993 (patch) | |
tree | 74a8a53f04d98952294962b196938a6f7e142363 /tubes | |
parent | 2965a1c3fca6d8807e657252e53bbb2f4f63b60f (diff) |
tubes: use SAL_INFO SAL_WARN here
Change-Id: Iae41c7f3d6718c06092d41d9b3757a821dba87b5
Diffstat (limited to 'tubes')
-rw-r--r-- | tubes/source/contacts.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tubes/source/contacts.cxx b/tubes/source/contacts.cxx index ff42df38e567..d24ffd3dcd0d 100644 --- a/tubes/source/contacts.cxx +++ b/tubes/source/contacts.cxx @@ -117,10 +117,10 @@ class TubeContacts : public ModelessDialog { TpAccount* pAccount = pAC->mpAccount; TpContact* pContact = pAC->mpContact; - fprintf( stderr, "picked %s\n", tp_contact_get_identifier( pContact ) ); + SAL_INFO( "tubes", "picked " << tp_contact_get_identifier( pContact ) ); TeleConference* pConference = mpManager->startBuddySession( pAccount, pContact ); if (!pConference) - fprintf( stderr, "could not start session with %s\n", + SAL_WARN( "tubes", "Could not start session with " << tp_contact_get_identifier( pContact ) ); else { @@ -139,11 +139,11 @@ class TubeContacts : public ModelessDialog if (pAC) { TpAccount* pAccount = pAC->mpAccount; - fprintf( stderr, "picked %s\n", tp_account_get_display_name( pAccount ) ); + SAL_INFO( "tubes", "picked " << tp_account_get_display_name( pAccount ) ); TeleConference* pConference = mpManager->startGroupSession( pAccount, rtl::OUString("liboroom"), rtl::OUString("conference.jabber.org") ); if (!pConference) - fprintf( stderr, "could not start group session\n" ); + SAL_WARN( "tubes", "Could not start group session." ); else { mpCollaboration->SetCollaboration( pConference ); |