diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-04 19:29:39 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-11 23:41:06 +0100 |
commit | 81888a89544ce4f93a3693cb8f0e345ac2f293ff (patch) | |
tree | a1ec640355c52ec45b0294748fcd011306bb9d82 /toolkit | |
parent | db9566df774efbce62ad71dc2f0ad51fa467ef95 (diff) |
Move DBG_ERROR to OSL_FAIL and correct OString usage
Diffstat (limited to 'toolkit')
-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 |