summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanelBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index b11f61d775eb..5bd9eb46c8f8 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -487,7 +487,7 @@ void AreaPropertyPanelBase::FillStyleChanged(bool bUpdateModel)
}
else
{
- if (pSh && pSh->GetItem(SID_GRADIENT_LIST))
+ if (pSh->GetItem(SID_GRADIENT_LIST))
{
SvxFillAttrBox::Fill(*mxLbFillAttr,
pSh->GetItem(SID_GRADIENT_LIST)->GetGradientList());