diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-05-20 18:03:22 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-05-20 18:03:22 +0000 |
commit | 6304ab46d50dfaaf48d72a7ed4f93ec888cfb765 (patch) | |
tree | 55e4db8e4ca1481835d74aa8343aee5ca41ce967 /idl | |
parent | bfdb55166f02318247f400ef255d8e9368229db4 (diff) |
INTEGRATION: CWS mba30patches01 (1.5.30); FILE MERGED
2008/04/23 09:45:27 mba 1.5.30.2: RESYNC: (1.5-1.6); FILE MERGED
2008/03/18 15:40:05 mba 1.5.30.1: #i86353#: remove unused code
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/types.cxx | 62 |
1 files changed, 1 insertions, 61 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index f210d0d31bee..ac98e38db8e3 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: types.cxx,v $ - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -44,16 +44,6 @@ /****************** SvMetaAttribute *************************************/ /************************************************************************/ SV_IMPL_META_FACTORY1( SvMetaAttribute, SvMetaReference ); -#ifdef IDL_COMPILER -SvAttributeList & SvMetaAttribute::GetAttributeList() -{ - if( !pAttribList ) - { - pAttribList = new SvAttributeList(); - } - return *pAttribList; -} -#endif /************************************************************************* |* SvMetaAttribute::SvMetaAttribute() |* @@ -1024,16 +1014,6 @@ void SvMetaAttribute::WriteHelpId( SvIdlDataBase &, SvStream &, Table * ) /****************** SvMetaType *************************************/ /************************************************************************/ SV_IMPL_META_FACTORY1( SvMetaType, SvMetaExtern ); -#ifdef IDL_COMPILER -SvAttributeList & SvMetaType::GetAttributeList() -{ - if( !pAttribList ) - { - pAttribList = new SvAttributeList(); - } - return *pAttribList; -} -#endif /************************************************************************* |* SvMetaType::SvMetaType() |* @@ -2312,16 +2292,6 @@ void SvMetaType::WriteParamNames( SvIdlDataBase & rBase, /************************************************************************/ /************************************************************************/ SV_IMPL_META_FACTORY1( SvMetaTypeString, SvMetaType ); -#ifdef IDL_COMPILER -SvAttributeList & SvMetaTypeString::GetAttributeList() -{ - if( !pAttribList ) - { - pAttribList = new SvAttributeList(); - } - return *pAttribList; -} -#endif /************************************************************************* |* |* SvMetaTypeString::SvMetaTypeString() @@ -2347,16 +2317,6 @@ void SvMetaTypeString::Save( SvPersistStream & rStm ) /************************************************************************/ /************************************************************************/ SV_IMPL_META_FACTORY1( SvMetaEnumValue, SvMetaName ); -#ifdef IDL_COMPILER -SvAttributeList & SvMetaEnumValue::GetAttributeList() -{ - if( !pAttribList ) - { - pAttribList = new SvAttributeList(); - } - return *pAttribList; -} -#endif /************************************************************************* |* |* SvMetaEnumValue::SvMetaEnumValue() @@ -2444,16 +2404,6 @@ void SvMetaEnumValue::Write( SvIdlDataBase &, SvStream & rOutStm, USHORT, /************************************************************************/ /************************************************************************/ SV_IMPL_META_FACTORY1( SvMetaTypeEnum, SvMetaType ); -#ifdef IDL_COMPILER -SvAttributeList & SvMetaTypeEnum::GetAttributeList() -{ - if( !pAttribList ) - { - pAttribList = new SvAttributeList(); - } - return *pAttribList; -} -#endif /************************************************************************* |* |* SvMetaTypeEnum::SvMetaTypeEnum() @@ -2658,16 +2608,6 @@ void SvMetaTypeEnum::WriteContext( SvIdlDataBase & rBase, SvStream & rOutStm, /************************************************************************/ /************************************************************************/ SV_IMPL_META_FACTORY1( SvMetaTypevoid, SvMetaType ); -#ifdef IDL_COMPILER -SvAttributeList & SvMetaTypevoid::GetAttributeList() -{ - if( !pAttribList ) - { - pAttribList = new SvAttributeList(); - } - return *pAttribList; -} -#endif /************************************************************************* |* |* SvMetaTypevoid::SvMetaTypevoid() |