diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-07-24 11:40:59 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2016-07-24 10:17:30 +0000 |
commit | c360f90ea902ca697c7a7145825450d430b02e07 (patch) | |
tree | 359a6968b6ca593df1e0c8b75feb9cf914b3240e /vcl | |
parent | c3c4aec158a595826e37652a82c5782433022a7b (diff) |
For a failing image load, indicate theme
(only in case OSL_DEBUG_LEVEL>0)
Change-Id: I31217c72c9bddaa748a5980252b40d025c76b730
Reviewed-on: https://gerrit.libreoffice.org/27473
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/image/ImageList.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/image/ImageList.cxx b/vcl/source/image/ImageList.cxx index aab0150649e5..07182afa01b4 100644 --- a/vcl/source/image/ImageList.cxx +++ b/vcl/source/image/ImageList.cxx @@ -139,6 +139,9 @@ void ImageAryData::Load(const OUString &rPrefix) aMessage.append( "ImageAryData::Load: failed to load image '" ); aMessage.append( OUStringToOString( aFileName, RTL_TEXTENCODING_UTF8 ).getStr() ); aMessage.append( "'" ); + aMessage.append( " from icon theme '" ); + aMessage.append( OUStringToOString( aIconTheme, RTL_TEXTENCODING_UTF8 ).getStr() ); + aMessage.append( "'" ); OSL_FAIL( aMessage.makeStringAndClear().getStr() ); } #endif |