diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 15:50:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:57 +0100 |
commit | 55461af2bd054819b4e47bf86abd08641a6452ca (patch) | |
tree | 39042275f20abc83f53ebc37ea7bafefa91255f8 /scripting | |
parent | a96b9043ff1e94f68215ff1cf0daf30fb46fdcb8 (diff) |
scripting: simplify deprecated XTypeProvider.getImplementationId
Change-Id: If0d9a6f1c56dc560df078eb59313aaba393ee372
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java | 2 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java index e14e27a7ee3b..a348dffd85d8 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java @@ -300,7 +300,7 @@ public abstract class ScriptProvider */ public byte[] getImplementationId() { - return this.getClass().getName().getBytes(); + return new byte[0]; } /** diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index b9bd1fcd65c4..9237294e0035 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -526,8 +526,7 @@ public: virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw ( com::sun::star::uno::RuntimeException, std::exception ) { - return m_xWrappedTypeProv->getImplementationId(); - + return css::uno::Sequence<sal_Int8>(); } }; |