summaryrefslogtreecommitdiff
path: root/vcl/source/image/ImageList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/image/ImageList.cxx')
-rw-r--r--vcl/source/image/ImageList.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/image/ImageList.cxx b/vcl/source/image/ImageList.cxx
index 1ba8768f22a2..aab0150649e5 100644
--- a/vcl/source/image/ImageList.cxx
+++ b/vcl/source/image/ImageList.cxx
@@ -238,7 +238,7 @@ sal_uInt16 ImageList::ImplGetImageId( const OUString& rImageName ) const
void ImageList::AddImage( const OUString& rImageName, const Image& rImage )
{
- DBG_ASSERT( GetImagePos( rImageName ) == IMAGELIST_IMAGE_NOTFOUND, "ImageList::AddImage() - ImageName already exists" );
+ SAL_WARN_IF( GetImagePos( rImageName ) != IMAGELIST_IMAGE_NOTFOUND, "vcl", "ImageList::AddImage() - ImageName already exists" );
if( !mpImplData )
ImplInit( 0, rImage.GetSizePixel() );