summaryrefslogtreecommitdiff
path: root/chart2/source/view/charttypes/ConfigAccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/charttypes/ConfigAccess.cxx')
-rw-r--r--chart2/source/view/charttypes/ConfigAccess.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/view/charttypes/ConfigAccess.cxx b/chart2/source/view/charttypes/ConfigAccess.cxx
index 964e58ce43f7..e83385fb63d1 100644
--- a/chart2/source/view/charttypes/ConfigAccess.cxx
+++ b/chart2/source/view/charttypes/ConfigAccess.cxx
@@ -53,8 +53,7 @@ void ChartConfigItem::Notify(const uno::Sequence<OUString>&) {}
bool ChartConfigItem::getUseErrorRectangle()
{
- uno::Sequence<OUString> aNames(1);
- aNames[0] = "ErrorRectangle";
+ uno::Sequence<OUString> aNames{ "ErrorRectangle" };
auto b = o3tl::tryAccess<bool>(GetProperties(aNames)[0]);
return b && *b;