diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 16:40:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:40:00 +0100 |
commit | a3cdc0c68b59ba206647594979dbc86c51ef2a95 (patch) | |
tree | 28cb3054d9da89161dd2b712844597af4d37643b /unotools/source/accessibility | |
parent | c7d2ed40de437010544ae9d0a40882732a0d0adb (diff) |
unotools: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I99cea658b20cf342f503f61c1cb91a8e29abf1ad
Diffstat (limited to 'unotools/source/accessibility')
-rw-r--r-- | unotools/source/accessibility/accessiblerelationsethelper.cxx | 7 | ||||
-rw-r--r-- | unotools/source/accessibility/accessiblestatesethelper.cxx | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx index e3ae2a0d0854..00bf5a34d189 100644 --- a/unotools/source/accessibility/accessiblerelationsethelper.cxx +++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx @@ -245,16 +245,11 @@ uno::Sequence< ::com::sun::star::uno::Type> return aTypeSequence; } -namespace -{ - class theAccessibleRelationSetHelperUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theAccessibleRelationSetHelperUnoTunnelId > {}; -} - uno::Sequence<sal_Int8> SAL_CALL AccessibleRelationSetHelper::getImplementationId (void) 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: */ diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx index 457a84a4bd8f..55fd4459fe3c 100644 --- a/unotools/source/accessibility/accessiblestatesethelper.cxx +++ b/unotools/source/accessibility/accessiblestatesethelper.cxx @@ -257,16 +257,11 @@ uno::Sequence< ::com::sun::star::uno::Type> return aTypeSequence; } -namespace -{ - class theAccessibleStateSetHelperUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theAccessibleStateSetHelperUnoTunnelId > {}; -} - uno::Sequence<sal_Int8> SAL_CALL AccessibleStateSetHelper::getImplementationId (void) 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: */ |