summaryrefslogtreecommitdiff
path: root/svx/source/form/fmtextcontrolshell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmtextcontrolshell.cxx')
-rw-r--r--svx/source/form/fmtextcontrolshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx
index 1177e6eb3e9e..0d723fad96bc 100644
--- a/svx/source/form/fmtextcontrolshell.cxx
+++ b/svx/source/form/fmtextcontrolshell.cxx
@@ -1178,7 +1178,7 @@ namespace svx
// if we found a rich text control, we need context menu support
if ( m_bActiveControlIsRichText )
{
- DBG_ASSERT( nullptr == m_aContextMenuObserver.get(), "FmTextControlShell::controlActivated: already have an observer!" );
+ DBG_ASSERT( !m_aContextMenuObserver, "FmTextControlShell::controlActivated: already have an observer!" );
m_aContextMenuObserver = MouseListenerAdapter( new FmMouseListenerAdapter( _rxControl, this ) );
}