diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-04 19:31:52 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-11 23:41:06 +0100 |
commit | 56e019462e980b6583f217f21e2ade3176e639e7 (patch) | |
tree | 05302df54c226e5e79f044b26208052620a04f5b /toolkit | |
parent | ea9aeb6ad43ef7b7ec2f6378a5fc90f323414ed0 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/layout/vcl/wrapper.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/source/layout/vcl/wrapper.cxx b/toolkit/source/layout/vcl/wrapper.cxx index 2664005fd159..6a740b7582d9 100644 --- a/toolkit/source/layout/vcl/wrapper.cxx +++ b/toolkit/source/layout/vcl/wrapper.cxx @@ -1337,14 +1337,12 @@ class FixedImageImpl: public ControlImpl public: uno::Reference< graphic::XGraphic > mxGraphic; FixedImageImpl( Context *context, const PeerHandle &peer, Window *window) -// const char *pName ) : ControlImpl( context, peer, window ) - //, mxGraphic( layoutimpl::loadGraphic( pName ) ) , mxGraphic( peer, uno::UNO_QUERY ) { if ( !mxGraphic.is() ) { - DBG_ERROR( "ERROR: failed to load image: `%s'" /*, pName*/ ); + OSL_FAIL( "ERROR: failed to load image: `%s'" ); } } }; |