diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 14:26:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:54 +0100 |
commit | 447e910c19defcda3922396254a44a50ca19b9b5 (patch) | |
tree | 04a469bed488b08866750f482785b2c30dbfe10c /editeng/source/uno/unotext2.cxx | |
parent | 2f3be987324f0ca3c3b4c9b167b6d76b6e1d5612 (diff) |
editeng: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I4135695eccb486e5df180f98a247755ba85a9454
Diffstat (limited to 'editeng/source/uno/unotext2.cxx')
-rw-r--r-- | editeng/source/uno/unotext2.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx index 5d37aeecd2bc..e66110241fd8 100644 --- a/editeng/source/uno/unotext2.cxx +++ b/editeng/source/uno/unotext2.cxx @@ -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 |