[Libreoffice-commits] core.git: vcl/source
Julien Nabet
serval2412 at yahoo.fr
Sun Jul 24 10:17:56 UTC 2016
vcl/source/image/ImageList.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c360f90ea902ca697c7a7145825450d430b02e07
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Jul 24 11:40:59 2016 +0200
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 at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/source/image/ImageList.cxx b/vcl/source/image/ImageList.cxx
index aab0150..07182af 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
More information about the Libreoffice-commits
mailing list