Kaydet (Commit) a188bd6a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Remove two pointless DBG_ASSERTs "There is no Dde-Service"

Avoid hundreds of presumably pointless warning messages in some unit
tests at least. The code explicitly checks and handles the asserted
condition not being true right after the DBG_ASSERTs.

Change-Id: I5482c56aeeadb8f85dfdd03e12960abd7e769c56
üst f591a096
...@@ -462,7 +462,6 @@ void SfxAppData_Impl::DeInitDDE() ...@@ -462,7 +462,6 @@ void SfxAppData_Impl::DeInitDDE()
#if defined( WNT ) #if defined( WNT )
void SfxApplication::AddDdeTopic( SfxObjectShell* pSh ) void SfxApplication::AddDdeTopic( SfxObjectShell* pSh )
{ {
DBG_ASSERT( pAppData_Impl->pDocTopics, "There is no Dde-Service" );
//OV: DDE is disconnected in server mode! //OV: DDE is disconnected in server mode!
if( !pAppData_Impl->pDocTopics ) if( !pAppData_Impl->pDocTopics )
return; return;
...@@ -495,7 +494,6 @@ void SfxApplication::AddDdeTopic( SfxObjectShell* pSh ) ...@@ -495,7 +494,6 @@ void SfxApplication::AddDdeTopic( SfxObjectShell* pSh )
void SfxApplication::RemoveDdeTopic( SfxObjectShell* pSh ) void SfxApplication::RemoveDdeTopic( SfxObjectShell* pSh )
{ {
#if defined WNT #if defined WNT
DBG_ASSERT( pAppData_Impl->pDocTopics, "There is no Dde-Service" );
//OV: DDE is disconnected in server mode! //OV: DDE is disconnected in server mode!
if( !pAppData_Impl->pDocTopics ) if( !pAppData_Impl->pDocTopics )
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment