From e68205f2b8f995e080412579afc21384a6a09895 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 9 May 2013 05:13:27 +0200 Subject: coverity#736132: comparison of array against NULL Change-Id: Icba7557140d65b769bef17df57e2cdc1bdba3193 --- framework/source/uiconfiguration/imagemanagerimpl.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'framework') diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx index 78d5156ec752..facc0e47345a 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.cxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx @@ -1427,9 +1427,6 @@ void ImageManagerImpl::clear() { ResetableGuard aGuard( m_aLock ); - if (!m_pUserImageList) - return; - for ( sal_Int32 n = 0; n < ImageType_COUNT; n++ ) { delete m_pUserImageList[n]; -- cgit v1.2.3