tubes/source/manager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2b2099cbd20d98caa16d8c08a3d94b8e5e34d264
Author: Matúš Kukan <matus.ku...@gmail.com>
Date:   Sun Jul 22 00:32:10 2012 +0200

    tubes: do not crash if there is no TeleManager yet
    
    Change-Id: I042c773f071d336c7d402ed7bca2a33b3a998d50

diff --git a/tubes/source/manager.cxx b/tubes/source/manager.cxx
index c771727..49cda03 100644
--- a/tubes/source/manager.cxx
+++ b/tubes/source/manager.cxx
@@ -178,7 +178,7 @@ TeleConference* TeleManager::getConference()
 
 bool TeleManager::hasWaitingConference()
 {
-    return !pImpl->msCurrentUUID.isEmpty();
+    return pImpl && !pImpl->msCurrentUUID.isEmpty();
 }
 
 void TeleManager::setCurrentUuid( const OString& rUuid )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to