From bf8441444cb00fe89acbd2c1d6f5abcc0d4e1247 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 10 Mar 2014 15:09:56 +0100 Subject: package: simplify deprecated XTypeProvider.getImplementationId Change-Id: I6cfedbb93fade4179d9dcbf3701116d4b320ebd3 --- package/source/xstor/owriteablestream.cxx | 3 +-- package/source/xstor/xstorage.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'package') diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index 8b1e4c5291db..b7bbf51d5dce 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -2050,8 +2050,7 @@ namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, l uno::Sequence< sal_Int8 > SAL_CALL OWriteStream::getImplementationId() throw( uno::RuntimeException, std::exception ) { - ::cppu::OImplementationId &rId = lcl_ImplId::get(); - return rId.getImplementationId(); + return css::uno::Sequence(); } sal_Int32 SAL_CALL OWriteStream::readBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index 7846a4c7a880..1c00a5d68dc8 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -2334,8 +2334,7 @@ namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, l uno::Sequence< sal_Int8 > SAL_CALL OStorage::getImplementationId() throw( uno::RuntimeException, std::exception ) { - ::cppu::OImplementationId &rID = lcl_ImplId::get(); - return rID.getImplementationId(); + return css::uno::Sequence(); } // XStorage -- cgit v1.2.3