summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-05 10:18:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-05 11:59:17 +0200
commit017862727a19f419313eead325f1dbc2936088ed (patch)
treec4201173e0be10f5d2fb4408fee6f542629abcae /svx/source/sidebar
parentc1e157b58f3e5e907f61008387973451b7ba31dc (diff)
Upcoming loplugin:elidestringvar: svx
Change-Id: Ia7b4f69361b6cc29f6e5c0093b13cf0b48e25ba3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95576 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanelBase.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index f83e9bafdebd..6cf416a68d15 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -287,9 +287,8 @@ IMPL_LINK_NOARG(AreaPropertyPanelBase, SelectFillTypeHdl, weld::ComboBox&, void)
mxMTRAngle->hide();
mxBmpImport->hide();
mxToolBoxColor->show();
- const OUString aTmpStr;
const Color aColor = mpColorItem ? mpColorItem->GetColorValue() : COL_AUTO;
- const XFillColorItem aXFillColorItem( aTmpStr, aColor );
+ const XFillColorItem aXFillColorItem( "", aColor );
// #i122676# change FillStyle and Color in one call
XFillStyleItem aXFillStyleItem(drawing::FillStyle_SOLID);