diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 12:16:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:53 +0100 |
commit | 023c00b7c4bcca3c581cee293150e9389e5a1f7b (patch) | |
tree | 005b7c60e265692fbb028f8783e6db1efbb9a18a /cppuhelper/source/implbase.cxx | |
parent | 8038ea6396b2c40599f16b101e9089f6cc13a118 (diff) |
cppuhelper: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I1e355c0ef9548d505de996304837d3d0910bd9b8
Diffstat (limited to 'cppuhelper/source/implbase.cxx')
-rw-r--r-- | cppuhelper/source/implbase.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx index 9ed1ddf74c47..322a25506f03 100644 --- a/cppuhelper/source/implbase.cxx +++ b/cppuhelper/source/implbase.cxx @@ -22,7 +22,6 @@ #include <osl/diagnose.h> #include <rtl/instance.hxx> #include <rtl/string.hxx> -#include <rtl/uuid.h> #include <com/sun/star/lang/XComponent.hpp> #include "com/sun/star/uno/RuntimeException.hpp" @@ -106,10 +105,6 @@ void ClassData::initTypeProvider() SAL_THROW(()) ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if (! pTypes) { - // create id - pId = new Sequence< sal_Int8 >( 16 ); - rtl_createUuid( (sal_uInt8 *)pId->getArray(), 0, sal_True ); - // collect types Sequence< Type > * types = new Sequence< Type >( nType2Offset + 1 + (nClassCode == 4 ? 2 : nClassCode) ); @@ -151,9 +146,7 @@ Sequence< Type > ClassData::getTypes() SAL_THROW(()) Sequence< sal_Int8 > ClassData::getImplementationId() SAL_THROW(()) { - if (! pTypes) - initTypeProvider(); - return *pId; + return css::uno::Sequence<sal_Int8>(); } |