summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-03-23 14:18:39 +0000
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-17 16:39:51 +0200
commita5a66cb1cf4751ba53dbf18aa2422b5dd0b3ffea (patch)
tree3aa322bb646b84f9327ef9bb861c72f7218dcbc9
parentaa8d62ed9af4bd7f5a07b64f6bcbf596cff3eb4f (diff)
collab: print some info on which contact we've picked
-rw-r--r--sc/source/ui/collab/collab.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/collab/collab.cxx b/sc/source/ui/collab/collab.cxx
index fdb1a304b96e..4c11fb7aaf5d 100644
--- a/sc/source/ui/collab/collab.cxx
+++ b/sc/source/ui/collab/collab.cxx
@@ -83,12 +83,15 @@ bool ScCollaboration::initAccountContact()
{
ContactList* pContactList = mpManager->getContactList();
AccountContactPairV aVec( pContactList->getContacts());
+
+ fprintf( stderr, "%u contacts\n", (int) aVec.size() );
if (aVec.empty())
return false;
/* TODO: select a pair, for now just take the first */
mpAccount = aVec[0].first;
mpContact = aVec[0].second;
+ fprintf( stderr, "picked %s\n", tp_contact_get_identifier( mpContact ) );
return true;
}