diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-01-04 13:30:08 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-01-04 13:32:40 +0200 |
commit | a188bd6ad109c7696f29509c1db72b802a4bd435 (patch) | |
tree | 815ec7c4f6a20c670d519b285e0f63a4bb58b54a /sfx2 | |
parent | f591a096de3b69ecba16b002fb6ba9ba496ad53a (diff) |
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
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appdde.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index 62b81f441cb2..b90122788e58 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -462,7 +462,6 @@ void SfxAppData_Impl::DeInitDDE() #if defined( WNT ) void SfxApplication::AddDdeTopic( SfxObjectShell* pSh ) { - DBG_ASSERT( pAppData_Impl->pDocTopics, "There is no Dde-Service" ); //OV: DDE is disconnected in server mode! if( !pAppData_Impl->pDocTopics ) return; @@ -495,7 +494,6 @@ void SfxApplication::AddDdeTopic( SfxObjectShell* pSh ) void SfxApplication::RemoveDdeTopic( SfxObjectShell* pSh ) { #if defined WNT - DBG_ASSERT( pAppData_Impl->pDocTopics, "There is no Dde-Service" ); //OV: DDE is disconnected in server mode! if( !pAppData_Impl->pDocTopics ) return; |