summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 11:16:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:52 +0100
commitce7cc9d92d2b85e079a19db6b040c3392a0fc541 (patch)
tree12ea5866dac0a70caf04c62fd8e08e3ade59ee7e /chart2
parent90dcd2ac130c1e8666acfe1ed4ac7547fc4d96b2 (diff)
chart2: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ie06f10648b0e79101c30da4768d5462cdf38838a
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx3
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx7
-rw-r--r--chart2/source/tools/OPropertySet.cxx7
3 files changed, 3 insertions, 14 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
index f958c7f469dd..18502945c8e1 100644
--- a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
+++ b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx
@@ -69,8 +69,7 @@ uno::Sequence< OUString > ChartTypeUnoDlg::getSupportedServiceNames_Static()
}
uno::Sequence< sal_Int8 > SAL_CALL ChartTypeUnoDlg::getImplementationId( void ) throw( uno::RuntimeException, std::exception )
{
- static ::cppu::OImplementationId aId;
- return aId.getImplementationId();
+ return css::uno::Sequence<sal_Int8>();
}
void ChartTypeUnoDlg::implInitialize(const uno::Any& _rValue)
{
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
index d38280729ed0..dfd24d7647de 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
@@ -141,14 +141,9 @@ uno::Sequence< uno::Type > CreationWizardUnoDlg::getTypes() throw(uno::RuntimeEx
return aTypeList;
}
-namespace
-{
- class theCreationWizardUnoDlgImplementationId : public rtl::Static< UnoTunnelIdInit, theCreationWizardUnoDlgImplementationId > {};
-}
-
uno::Sequence< sal_Int8 > SAL_CALL CreationWizardUnoDlg::getImplementationId( void ) throw( uno::RuntimeException, std::exception )
{
- return theCreationWizardUnoDlgImplementationId::get().getSeq();
+ return css::uno::Sequence<sal_Int8>();
}
// XTerminateListener
diff --git a/chart2/source/tools/OPropertySet.cxx b/chart2/source/tools/OPropertySet.cxx
index 304e101b5514..aa4ca406bd5e 100644
--- a/chart2/source/tools/OPropertySet.cxx
+++ b/chart2/source/tools/OPropertySet.cxx
@@ -121,16 +121,11 @@ Sequence< uno::Type > SAL_CALL
return aTypeList;
}
-namespace
-{
- class theOPropertySetImplementationId : public rtl::Static< UnoTunnelIdInit, theOPropertySetImplementationId > {};
-}
-
Sequence< sal_Int8 > SAL_CALL
OPropertySet::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
- return theOPropertySetImplementationId::get().getSeq();
+ return css::uno::Sequence<sal_Int8>();
}
// ____ XPropertyState ____