package: simplify deprecated XTypeProvider.getImplementationId

Change-Id: I6cfedbb93fade4179d9dcbf3701116d4b320ebd3
This commit is contained in:
Stephan Bergmann 2014-03-10 15:09:56 +01:00
parent 271cd24927
commit bf8441444c
2 changed files with 2 additions and 4 deletions

View file

@ -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_Int8>();
}
sal_Int32 SAL_CALL OWriteStream::readBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )

View file

@ -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<sal_Int8>();
}
// XStorage