coverity#1258449 Explicit null dereferenced
Change-Id: I531a6ddd744f83ef345c0de8f8c112f61d56925e
This commit is contained in:
parent
ace8c9a8c6
commit
f91e577ad8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user