summaryrefslogtreecommitdiff
path: root/svl/source/svdde/ddecli.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-10-07 22:50:30 +0200
committerMichael Stahl <mstahl@redhat.com>2016-10-08 00:02:48 +0200
commit06f91e5c6d4528de00a188f0f8ba4b5678b94ad3 (patch)
tree38c26fd98428bf0d9222b74d5c1fe85fdce9517a /svl/source/svdde/ddecli.cxx
parenta97d2c7a4248dc8bd6b3b3c28d07cf4a573ba074 (diff)
svl: convert DBG_ASSERTs to assert
Change-Id: Ied13d6588e1c6677898a8151fa881804c3c58ff1
Diffstat (limited to 'svl/source/svdde/ddecli.cxx')
-rw-r--r--svl/source/svdde/ddecli.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svl/source/svdde/ddecli.cxx b/svl/source/svdde/ddecli.cxx
index d81d57c65259..7d290e9c1df1 100644
--- a/svl/source/svdde/ddecli.cxx
+++ b/svl/source/svdde/ddecli.cxx
@@ -25,7 +25,6 @@
#include <svl/svdde.hxx>
#include <osl/thread.h>
-#include <tools/debug.hxx>
#include <comphelper/solarmutex.hxx>
#include <osl/mutex.hxx>
@@ -68,7 +67,7 @@ HDDEDATA CALLBACK DdeInternal::CliCallback( WORD nCode, WORD nCbType,
DdeConnection* self = 0;
DdeInstData* pInst = ImpGetInstData();
- DBG_ASSERT(pInst,"SVDDE:No instance data");
+ assert(pInst);
for ( size_t i = 0; i < rAll.size(); ++i)
{
@@ -189,7 +188,7 @@ DdeConnection::~DdeConnection()
delete pTopic;
DdeInstData* pInst = ImpGetInstData();
- DBG_ASSERT(pInst,"SVDDE:No instance data");
+ assert(pInst);
std::vector<DdeConnection*>::iterator it(std::find(pInst->aConnections.begin(),
pInst->aConnections.end(),
@@ -239,7 +238,7 @@ const OUString DdeConnection::GetTopicName()
const std::vector<DdeConnection*>& DdeConnection::GetConnections()
{
DdeInstData* pInst = ImpGetInstData();
- DBG_ASSERT(pInst,"SVDDE:No instance data");
+ assert(pInst);
return pInst->aConnections;
}