diff options
author | David Tardon <dtardon@redhat.com> | 2015-01-11 13:08:37 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-01-11 18:29:03 +0100 |
commit | 623b38fa5769f8cdec10b54b2a600bc4c4e077e6 (patch) | |
tree | 81a2ffdc4639ccac2600395b9726bd7a3ac0a797 /tubes | |
parent | 884c5a247ad65e27f6ea643352934c2b68beed21 (diff) |
OSL_ENSURE was not declared in this scope
Change-Id: I426c0feee7b76fe02473e07fa209a61967af3e99
Diffstat (limited to 'tubes')
-rw-r--r-- | tubes/source/conference.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tubes/source/conference.cxx b/tubes/source/conference.cxx index 86986fc760fb..df4a63f644bf 100644 --- a/tubes/source/conference.cxx +++ b/tubes/source/conference.cxx @@ -248,7 +248,7 @@ static void channel_closed_cb( TpChannel *channel, gpointer user_data, GObject * void TeleConference::setChannel( TpAccount *pAccount, TpDBusTubeChannel* pChannel ) { - OSL_ENSURE( !mpChannel, "TeleConference::setChannel: already have channel"); + SAL_WARN_IF( mpChannel, "tubes", "TeleConference::setChannel: already have channel"); if (mpChannel) g_object_unref( mpChannel); if (mpAccount) @@ -297,7 +297,7 @@ bool TeleConference::offerTube() { INFO_LOGGER( "TeleConference::offerTube"); - OSL_ENSURE( mpChannel, "TeleConference::offerTube: no channel"); + SAL_WARN_IF( !mpChannel, "tubes", "TeleConference::offerTube: no channel"); if (!mpChannel) return false; @@ -319,7 +319,7 @@ bool TeleConference::setTube( GDBusConnection* pTube) { INFO_LOGGER( "TeleConference::setTube"); - OSL_ENSURE( !pImpl->mpTube, "TeleConference::setTube: already tubed"); + SAL_WARN_IF( pImpl->mpTube, "tubes", "TeleConference::setTube: already tubed"); pImpl->mpTube = pTube; |