Kaydet (Commit) a3cdc0c6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

unotools: simplify deprecated XTypeProvider.getImplementationId

Change-Id: I99cea658b20cf342f503f61c1cb91a8e29abf1ad
üst c7d2ed40
...@@ -245,16 +245,11 @@ uno::Sequence< ::com::sun::star::uno::Type> ...@@ -245,16 +245,11 @@ uno::Sequence< ::com::sun::star::uno::Type>
return aTypeSequence; return aTypeSequence;
} }
namespace
{
class theAccessibleRelationSetHelperUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theAccessibleRelationSetHelperUnoTunnelId > {};
}
uno::Sequence<sal_Int8> SAL_CALL uno::Sequence<sal_Int8> SAL_CALL
AccessibleRelationSetHelper::getImplementationId (void) AccessibleRelationSetHelper::getImplementationId (void)
throw (::com::sun::star::uno::RuntimeException, std::exception) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ {
return theAccessibleRelationSetHelperUnoTunnelId::get().getSeq(); return css::uno::Sequence<sal_Int8>();
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -257,16 +257,11 @@ uno::Sequence< ::com::sun::star::uno::Type> ...@@ -257,16 +257,11 @@ uno::Sequence< ::com::sun::star::uno::Type>
return aTypeSequence; return aTypeSequence;
} }
namespace
{
class theAccessibleStateSetHelperUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theAccessibleStateSetHelperUnoTunnelId > {};
}
uno::Sequence<sal_Int8> SAL_CALL uno::Sequence<sal_Int8> SAL_CALL
AccessibleStateSetHelper::getImplementationId (void) AccessibleStateSetHelper::getImplementationId (void)
throw (::com::sun::star::uno::RuntimeException, std::exception) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ {
return theAccessibleStateSetHelperUnoTunnelId::get().getSeq(); return css::uno::Sequence<sal_Int8>();
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment