From 27861421a3b5f9045306195710a4c2b7bd1555ea Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Thu, 16 Aug 2012 00:47:02 +0200 Subject: tubes: do not include tubes' object files in unit test library Instead link against the library again. Unit test is now closer to what the real app looks like. Only 4 more functions exported because of unit test. Change-Id: I6fd784725564e577658d68ff7fe0595a79cf7639 --- tubes/source/collaboration.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tubes/source') diff --git a/tubes/source/collaboration.cxx b/tubes/source/collaboration.cxx index c957091cf042..a6e5ec09b760 100644 --- a/tubes/source/collaboration.cxx +++ b/tubes/source/collaboration.cxx @@ -42,12 +42,14 @@ void Collaboration::Invite( TpContact* pContact ) const void Collaboration::SendFile( TpContact* pContact, const OUString& rURL ) const { - mpConference->sendFile( pContact, rURL, NULL, NULL ); + if (mpConference) + mpConference->sendFile( pContact, rURL, NULL, NULL ); } void Collaboration::SendPacket( const OString& rPacket ) const { - mpConference->sendPacket( rPacket ); + if (mpConference) + mpConference->sendPacket( rPacket ); } void Collaboration::SetConference( TeleConference* pConference ) -- cgit