diff options
Diffstat (limited to 'toolkit/source/controls/unocontrolmodel.cxx')
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 2493dfe4289b..c261f3d97def 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -761,7 +761,7 @@ void UnoControlModel::write( const ::com::sun::star::uno::Reference< ::com::sun: ::rtl::OUString sPropertyName( GetPropertyName( pProp->GetId() ) ); sMessage += ::rtl::OString( sPropertyName.getStr(), sPropertyName.getLength(), osl_getThreadTextEncoding() ); sMessage += "'.)"; - DBG_ERROR( sMessage ); + OSL_FAIL( sMessage.getStr() ); } #endif } @@ -962,7 +962,7 @@ void UnoControlModel::read( const ::com::sun::star::uno::Reference< ::com::sun:: ::rtl::OUString sPropertyName( GetPropertyName( nPropId ) ); sMessage += ::rtl::OString( sPropertyName.getStr(), sPropertyName.getLength(), osl_getThreadTextEncoding() ); sMessage += "'.)"; - DBG_ERROR( sMessage ); + OSL_FAIL( sMessage.getStr() ); } } else |