summaryrefslogtreecommitdiff
path: root/tubes/source
diff options
context:
space:
mode:
Diffstat (limited to 'tubes/source')
-rw-r--r--tubes/source/collaboration.cxx6
1 files changed, 4 insertions, 2 deletions
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 )