diff options
-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'" ); } } }; |