summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-03 08:51:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-03 12:49:38 +0100
commit4228f08d6084d8563b70a26a6398fb0caf017f99 (patch)
tree2f91cb13231f0de1e514dd545e0910b830589fb4 /svx
parent6fe1e3af0e812d99e63677d9ead056357b37ecf7 (diff)
use assert when followed by deref
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/tbxform.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx
index fdcfef7fe87a..dd014a1c4226 100644
--- a/svx/source/form/tbxform.cxx
+++ b/svx/source/form/tbxform.cxx
@@ -267,7 +267,7 @@ void SvxFmTbxCtlAbsRec::StateChanged( sal_uInt16 nSID, SfxItemState eState, cons
ToolBox* pToolBox = &GetToolBox();
SvxFmAbsRecWin* pWin = (SvxFmAbsRecWin*)( pToolBox->GetItemWindow(nId) );
- DBG_ASSERT( pWin, "Control not found!" );
+ assert(pWin && "Control not found!");
if (pState)
{