diff options
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx index ee42cd0988ea..d6dec7ef7316 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx @@ -58,8 +58,7 @@ css::uno::Sequence<OUString> SAL_CALL ChartTypeUnoDlg::getSupportedServiceNames( uno::Sequence< OUString > ChartTypeUnoDlg::getSupportedServiceNames_Static() { - uno::Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[ 0 ] = CHART_TYPE_DIALOG_SERVICE_NAME; + uno::Sequence<OUString> aSNS { CHART_TYPE_DIALOG_SERVICE_NAME }; return aSNS; } uno::Sequence< sal_Int8 > SAL_CALL ChartTypeUnoDlg::getImplementationId() throw( uno::RuntimeException, std::exception ) |