summaryrefslogtreecommitdiff
path: root/forms/source/component/Button.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 17:55:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:00:30 +0100
commitfdeb50167836803f1a79082ddd25e4ae8ac20611 (patch)
tree3e9ff2e3cba72052ce97b0b16575791d2cdbdf6f /forms/source/component/Button.cxx
parent096b61aa08ee37c6d6818791a7c5fb94d2f1ef7d (diff)
Move DBG_ERROR to OSL_FAIL
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!" );
}
}
}