summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
index 6e10a3331175..fc1384d52e3f 100644
--- a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
+++ b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
@@ -43,23 +43,12 @@ ChartTypeUnoDlg::~ChartTypeUnoDlg()
// lang::XServiceInfo
OUString SAL_CALL ChartTypeUnoDlg::getImplementationName() throw(uno::RuntimeException, std::exception)
{
- return getImplementationName_Static();
-}
-
-OUString ChartTypeUnoDlg::getImplementationName_Static() throw(uno::RuntimeException)
-{
return OUString(CHART_TYPE_DIALOG_SERVICE_IMPLEMENTATION_NAME);
}
css::uno::Sequence<OUString> SAL_CALL ChartTypeUnoDlg::getSupportedServiceNames() throw(uno::RuntimeException, std::exception)
{
- return getSupportedServiceNames_Static();
-}
-
-uno::Sequence< OUString > ChartTypeUnoDlg::getSupportedServiceNames_Static()
-{
- uno::Sequence<OUString> aSNS { CHART_TYPE_DIALOG_SERVICE_NAME };
- return aSNS;
+ return { CHART_TYPE_DIALOG_SERVICE_NAME };
}
uno::Sequence< sal_Int8 > SAL_CALL ChartTypeUnoDlg::getImplementationId() throw( uno::RuntimeException, std::exception )
{