coverity#1258449 Explicit null dereferenced

Change-Id: I531a6ddd744f83ef345c0de8f8c112f61d56925e
This commit is contained in:
Caolán McNamara 2014-12-15 09:09:10 +00:00
parent ace8c9a8c6
commit f91e577ad8

View File

@ -581,6 +581,7 @@ void AreaPropertyPanel::ImpUpdateTransparencies()
switch(rGradient.GetGradientStyle())
{
default:
case css::awt::GradientStyle_LINEAR:
{
nEntryPos = 2;
@ -617,8 +618,6 @@ void AreaPropertyPanel::ImpUpdateTransparencies()
pImage = &maImgSquare;
break;
}
default:
break;
}
const sal_uInt16 nIdGradient = mpBTNGradient->GetItemId(UNO_SIDEBARGRADIENT);