summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanel.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx
index d95eaee471f8..5f0d43236ca6 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx
@@ -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);