summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/unoidl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 15:52:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:58 +0100
commit8150f5064f080710d89cd21b731bccbd2f490917 (patch)
tree9c3243c6ec6c71153af51bcccc95035d20179261 /sd/source/ui/unoidl
parentscripting: simplify deprecated XTypeProvider.getImplementationId (diff)
downloadcore-8150f5064f080710d89cd21b731bccbd2f490917.tar.gz
core-8150f5064f080710d89cd21b731bccbd2f490917.zip
sd: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I95566d52c39b8cc3544e4b39620ec2be81964aae
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx7
-rw-r--r--sd/source/ui/unoidl/unopage.cxx14
2 files changed, 3 insertions, 18 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index fb155b09021c..5eba9be797f7 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -379,14 +379,9 @@ uno::Sequence< uno::Type > SAL_CALL SdXImpressDocument::getTypes( ) throw(uno::
return maTypeSequence;
}
-namespace
-{
- class theSdXImpressDocumentImplementationId : public rtl::Static< UnoTunnelIdInit, theSdXImpressDocumentImplementationId > {};
-}
-
uno::Sequence< sal_Int8 > SAL_CALL SdXImpressDocument::getImplementationId( ) throw(uno::RuntimeException, std::exception)
{
- return theSdXImpressDocumentImplementationId::get().getSeq();
+ return css::uno::Sequence<sal_Int8>();
}
/***********************************************************************
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index 09cdc3fc5760..4f199891da26 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -2115,14 +2115,9 @@ Sequence< uno::Type > SAL_CALL SdDrawPage::getTypes() throw(uno::RuntimeExceptio
return maTypeSequence;
}
-namespace
-{
- class theSdDrawPageImplementationId : public rtl::Static< UnoTunnelIdInit, theSdDrawPageImplementationId > {};
-}
-
Sequence< sal_Int8 > SAL_CALL SdDrawPage::getImplementationId() throw(uno::RuntimeException, std::exception)
{
- return theSdDrawPageImplementationId::get().getSeq();
+ return css::uno::Sequence<sal_Int8>();
}
OUString SdDrawPage::getPageApiName( SdPage* pPage )
@@ -2765,14 +2760,9 @@ Sequence< uno::Type > SAL_CALL SdMasterPage::getTypes() throw(uno::RuntimeExcept
return maTypeSequence;
}
-namespace
-{
- class theSdMasterPageImplementationId : public rtl::Static< UnoTunnelIdInit, theSdMasterPageImplementationId > {};
-}
-
Sequence< sal_Int8 > SAL_CALL SdMasterPage::getImplementationId() throw(uno::RuntimeException, std::exception)
{
- return theSdMasterPageImplementationId::get().getSeq();
+ return css::uno::Sequence<sal_Int8>();
}
// XServiceInfo