diff options
author | Michaël Lefèvre <lefevre00@yahoo.fr> | 2014-04-04 00:13:31 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 07:23:43 -0500 |
commit | 453ee351f32494b1f30b477069cc7a1834352377 (patch) | |
tree | 2e5fc2a57d2a2f3eb839e929cae42d7d61451e05 /forms | |
parent | 4da62012fea1796c1fed5bb2d87a353d1be79ea5 (diff) |
fdo#43157 : clean up more OSL_POSTCOND
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16
Reviewed-on: https://gerrit.libreoffice.org/8832
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextimplcontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx index cc61a35e3097..f670701a1d58 100644 --- a/forms/source/richtext/richtextimplcontrol.cxx +++ b/forms/source/richtext/richtextimplcontrol.cxx @@ -193,7 +193,7 @@ namespace frm OSL_ENSURE( aHandler.is(), "RichTextControlImpl::enableAttributeNotification: no handler available for this attribute!" ); if ( !aHandler.is() ) return; - OSL_POSTCOND( _nAttributeId == aHandler->getAttributeId(), "RichTextControlImpl::enableAttributeNotification: suspicious handler!" ); + SAL_WARN_IF( _nAttributeId != aHandler->getAttributeId(), "forms.richtext", "RichTextControlImpl::enableAttributeNotification: suspicious handler!" ); aHandlerPos = m_aAttributeHandlers.insert( AttributeHandlerPool::value_type( _nAttributeId , aHandler ) ).first; } |