coverity#1258449 Explicit null dereferenced
Change-Id: I531a6ddd744f83ef345c0de8f8c112f61d56925e
This commit is contained in:
@@ -581,6 +581,7 @@ void AreaPropertyPanel::ImpUpdateTransparencies()
|
|||||||
|
|
||||||
switch(rGradient.GetGradientStyle())
|
switch(rGradient.GetGradientStyle())
|
||||||
{
|
{
|
||||||
|
default:
|
||||||
case css::awt::GradientStyle_LINEAR:
|
case css::awt::GradientStyle_LINEAR:
|
||||||
{
|
{
|
||||||
nEntryPos = 2;
|
nEntryPos = 2;
|
||||||
@@ -617,8 +618,6 @@ void AreaPropertyPanel::ImpUpdateTransparencies()
|
|||||||
pImage = &maImgSquare;
|
pImage = &maImgSquare;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const sal_uInt16 nIdGradient = mpBTNGradient->GetItemId(UNO_SIDEBARGRADIENT);
|
const sal_uInt16 nIdGradient = mpBTNGradient->GetItemId(UNO_SIDEBARGRADIENT);
|
||||||
|
Reference in New Issue
Block a user