diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 17:34:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 08:55:56 +0100 |
commit | 05f5c4d4d6addf5321a40595f598e55dce376f6f (patch) | |
tree | ad74bf98712aab9899518170846eb708c1aa1991 /svx | |
parent | ab0b8a95ef9ede3d41289593b8fbf68800ff9278 (diff) |
DBG_ASSERT->assert
Change-Id: Ic2933fc686d3bb030291756bd94127ee7583c833
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index e80b179b1b44..161e8aa38cd9 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -482,7 +482,7 @@ void SdrPaintView::AddWindowToPaintView(OutputDevice* pNewWin) void SdrPaintView::DeleteWindowFromPaintView(OutputDevice* pOldWin) { - DBG_ASSERT(pOldWin, "SdrPaintView::DeleteWindowFromPaintView: No OutputDevice(!)"); + assert(pOldWin && "SdrPaintView::DeleteWindowFromPaintView: No OutputDevice(!)"); SdrPaintWindow* pCandidate = FindPaintWindow(*pOldWin); if(pCandidate) |