summaryrefslogtreecommitdiff
path: root/forms/source/component/Button.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Button.cxx')
-rw-r--r--forms/source/component/Button.cxx4
1 files changed, 2 insertions, 2 deletions
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<XObjectInputStream>& _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!" );
}
}
}