From fdeb50167836803f1a79082ddd25e4ae8ac20611 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 1 Mar 2011 17:55:09 +0100 Subject: Move DBG_ERROR to OSL_FAIL --- forms/source/component/Button.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forms/source/component/Button.cxx') diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 9b0c44de98b6..65838c5d9a3b 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -224,7 +224,7 @@ void OButtonModel::read(const Reference& _rxInStream) throw break; default: - DBG_ERROR("OButtonModel::read : unknown version !"); + OSL_FAIL("OButtonModel::read : unknown version !"); m_eButtonType = FormButtonType_PUSH; m_sTargetURL = ::rtl::OUString(); m_sTargetFrame = ::rtl::OUString(); @@ -492,7 +492,7 @@ IMPL_LINK( OButtonControl, OnClick, void*, EMPTYARG ) #endif catch( const Exception& ) { - DBG_ERROR( "OButtonControl::OnClick: caught a exception other than RuntimeException!" ); + OSL_FAIL( "OButtonControl::OnClick: caught a exception other than RuntimeException!" ); } } } -- cgit