diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-03 13:32:01 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-11 23:41:05 +0100 |
commit | ed491cc3d9dbaf1a4fb1c9092c4f99b6f0612558 (patch) | |
tree | 06c73e7ebaf945a4153bb52b66b4adc525d98b17 /vcl/source/gdi/bitmapex.cxx | |
parent | 5c3d61abf9167c095b821f4f492316a9cae1e3f0 (diff) |
Move DBG_ERROR to OSL_FAIL for strings foo().GetBuffer()
Diffstat (limited to 'vcl/source/gdi/bitmapex.cxx')
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 043e878fd693..777f169053da 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -108,7 +108,7 @@ BitmapEx::BitmapEx( const ResId& rResId ) : { #ifdef DBG_UTIL ByteString aErrorStr( "BitmapEx::BitmapEx( const ResId& rResId ): could not load image <" ); - DBG_ERROR( ( ( aErrorStr += ByteString( aFileName, RTL_TEXTENCODING_ASCII_US ) ) += '>' ).GetBuffer() ); + OSL_FAIL( ( ( aErrorStr += ByteString( aFileName, RTL_TEXTENCODING_ASCII_US ) ) += '>' ).GetBuffer() ); #endif } } |