summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 14:26:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:54 +0100
commit447e910c19defcda3922396254a44a50ca19b9b5 (patch)
tree04a469bed488b08866750f482785b2c30dbfe10c /editeng/source/uno/unotext.cxx
parent2f3be987324f0ca3c3b4c9b167b6d76b6e1d5612 (diff)
editeng: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I4135695eccb486e5df180f98a247755ba85a9454
Diffstat (limited to 'editeng/source/uno/unotext.cxx')
-rw-r--r--editeng/source/uno/unotext.cxx21
1 files changed, 3 insertions, 18 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index c9a3eccea4e3..e2107565ed23 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -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