From 8e174eab91acec0f1578af4dac23be76dce700af Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Wed, 10 Sep 2014 20:13:13 +1000 Subject: vcl: BitmapEx now states which icon theme is being used for missing image Change-Id: I83b9c86685f72569c0df88231458183b1ae511c8 --- vcl/source/gdi/bitmapex.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 7673f0b3f333..b2d0dde6820e 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -104,7 +104,8 @@ BitmapEx::BitmapEx( const ResId& rResId ) : #ifdef DBG_UTIL OStringBuffer aErrorStr( "BitmapEx::BitmapEx( const ResId& rResId ): could not load image <"); - aErrorStr.append(OUStringToOString(aFileName, RTL_TEXTENCODING_ASCII_US)).append('>'); + aErrorStr.append(OUStringToOString(aFileName, RTL_TEXTENCODING_ASCII_US)).append("> via icon theme "); + aErrorStr.append(OUStringToOString(aIconTheme, RTL_TEXTENCODING_ASCII_US)).append('.'); OSL_FAIL(aErrorStr.getStr()); #endif } -- cgit v1.2.3