diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-05-05 14:18:47 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-05-05 14:18:47 +0000 |
commit | e0f8dddcab1f338a40e29e8e68d0a82d714291ba (patch) | |
tree | cd61d0207bae0638117a0d257148ee5791f43af0 /forms/source/component/Filter.cxx | |
parent | 6e044d6885a3a7c2b2a7956fd9f526c83d47af10 (diff) |
INTEGRATION: CWS dba30b (1.12.12); FILE MERGED
2008/04/15 21:52:30 fs 1.12.12.2: RESYNC: (1.12-1.13); FILE MERGED
2008/02/26 08:28:57 fs 1.12.12.1: remove unused code
Issue number: #i86305#
Submitted by: cmc@openoffice.org
Reviewed by: frank.schoenheit@sun.com
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r-- | forms/source/component/Filter.cxx | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 5a0049c77193..eb5c032b9fc4 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: Filter.cxx,v $ - * $Revision: 1.13 $ + * $Revision: 1.14 $ * * This file is part of OpenOffice.org. * @@ -161,35 +161,8 @@ namespace frm return aRet; } - //------------------------------------------------------------------ - // generate a uniqueId - const Sequence< sal_Int8 > & OFilterControl::getUnoTunnelId() - { - static Sequence< sal_Int8 > * pSeq = 0; - if( !pSeq ) - { - ::osl::Guard< ::osl::Mutex > aGuard( ::osl::Mutex::getGlobalMutex() ); - if( !pSeq ) - { - static Sequence< sal_Int8 > aSeq( 16 ); - rtl_createUuid( (sal_uInt8*)aSeq.getArray(), 0,sal_True ); - pSeq = &aSeq; - } - } - return *pSeq; - } - // return implementation specific data - //------------------------------------------------------------------ - sal_Int64 OFilterControl::getSomething( const Sequence< sal_Int8 > & rId ) - { - if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) - return reinterpret_cast< sal_Int64 >( this ); - - return 0; - } - - //--------------------------------------------------------------------- + //------------------------------------------------------------------ ::rtl::OUString OFilterControl::GetComponentServiceName() { ::rtl::OUString aServiceName; |