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

editeng: simplify deprecated XTypeProvider.getImplementationId

Change-Id: I4135695eccb486e5df180f98a247755ba85a9454
üst 2f3be987
......@@ -508,16 +508,11 @@ uno::Sequence< ::com::sun::star::uno::Type>
return BaseClass::getTypes();
}
namespace
{
class theAccessibleContextBaseImplementationId : public rtl::Static< UnoTunnelIdInit, theAccessibleContextBaseImplementationId > {};
}
uno::Sequence<sal_Int8> SAL_CALL
AccessibleContextBase::getImplementationId (void)
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return theAccessibleContextBaseImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
//===== internal ============================================================
......
......@@ -548,15 +548,10 @@ uno::Sequence< uno::Type > SAL_CALL SvxUnoTextField::getTypes()
return maTypeSequence;
}
namespace
{
class theSvxUnoTextFieldImplementationId : public rtl::Static< UnoTunnelIdInit, theSvxUnoTextFieldImplementationId > {};
}
uno::Sequence< sal_Int8 > SAL_CALL SvxUnoTextField::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
return theSvxUnoTextFieldImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
uno::Any SAL_CALL SvxUnoTextField::queryInterface( const uno::Type & rType )
......
......@@ -100,15 +100,10 @@ uno::Sequence< uno::Type > SAL_CALL SvxAccessibleTextPropertySet::getTypes() thr
return pTypeCollection->getTypes() ;
}
namespace
{
class theSvxAccessibleTextPropertySetImplementationId : public rtl::Static< UnoTunnelIdInit, theSvxAccessibleTextPropertySetImplementationId > {};
}
uno::Sequence< sal_Int8 > SAL_CALL SvxAccessibleTextPropertySet::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
return theSvxAccessibleTextPropertySetImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
// XServiceInfo
......
......@@ -1649,15 +1649,10 @@ uno::Sequence< uno::Type > SAL_CALL SvxUnoTextRange::getTypes()
return theSvxUnoTextRangeTypes::get();
}
namespace
{
class theSvxUnoTextRangeImplementationId : public rtl::Static< UnoTunnelIdInit, theSvxUnoTextRangeImplementationId > {};
}
uno::Sequence< sal_Int8 > SAL_CALL SvxUnoTextRange::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
return theSvxUnoTextRangeImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
// XTextRange
......@@ -1785,15 +1780,10 @@ uno::Sequence< uno::Type > SAL_CALL SvxUnoTextBase::getTypes()
return getStaticTypes();
}
namespace
{
class theSvxUnoTextBaseImplementationId : public rtl::Static< UnoTunnelIdInit, theSvxUnoTextBaseImplementationId > {};
}
uno::Sequence< sal_Int8 > SAL_CALL SvxUnoTextBase::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
return theSvxUnoTextBaseImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
uno::Reference< text::XTextCursor > SvxUnoTextBase::createTextCursorBySelection( const ESelection& rSel )
......@@ -2379,14 +2369,9 @@ uno::Sequence< uno::Type > SAL_CALL SvxUnoText::getTypes( ) throw( uno::Runtime
return SvxUnoTextBase::getTypes();
}
namespace
{
class theSvxUnoTextImplementationId : public rtl::Static< UnoTunnelIdInit, theSvxUnoTextImplementationId > {};
}
uno::Sequence< sal_Int8 > SAL_CALL SvxUnoText::getImplementationId( ) throw( uno::RuntimeException, std::exception )
{
return theSvxUnoTextImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
namespace
......
......@@ -202,15 +202,10 @@ uno::Sequence< uno::Type > SAL_CALL SvxUnoTextContent::getTypes()
return theSvxUnoTextContentTypes::get();
}
namespace
{
class theSvxUnoTextContentImplementationId : public rtl::Static< UnoTunnelIdInit, theSvxUnoTextContentImplementationId > {};
}
uno::Sequence< sal_Int8 > SAL_CALL SvxUnoTextContent::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
return theSvxUnoTextContentImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
// text::XTextRange
......@@ -564,15 +559,10 @@ uno::Sequence< uno::Type > SAL_CALL SvxUnoTextCursor::getTypes()
return theSvxUnoTextCursorTypes::get();
}
namespace
{
class theSvxUnoTextCursorImplementationId : public rtl::Static< UnoTunnelIdInit, theSvxUnoTextCursorImplementationId > {};
}
uno::Sequence< sal_Int8 > SAL_CALL SvxUnoTextCursor::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
return theSvxUnoTextCursorImplementationId::get().getSeq();
return css::uno::Sequence<sal_Int8>();
}
// text::XTextCursor
......
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