summaryrefslogtreecommitdiff
path: root/idl/source/objects/types.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-08 11:13:50 +0200
committerNoel Grandin <noel@peralex.com>2016-02-08 14:00:38 +0200
commit760b86a75746968f8cd77c6aaae871af09aec47c (patch)
tree08e7b080a9dc65a7a57becd36b892a3771a4d0bc /idl/source/objects/types.cxx
parent1795bb2fefe29ff0a46497918b5c571f9d541e5a (diff)
Export attribute only applies to SvMetaSlot, so move it down
Change-Id: I686fd2148d4cf03acbef892223c3ed2b1966e73a
Diffstat (limited to 'idl/source/objects/types.cxx')
-rw-r--r--idl/source/objects/types.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index 84f6e55cd715..42deae19d378 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -30,13 +30,11 @@
#include <database.hxx>
SvMetaAttribute::SvMetaAttribute()
- : aExport( true, false )
{
}
SvMetaAttribute::SvMetaAttribute( SvMetaType * pType )
: aType( pType )
- , aExport( true, false )
{
}
@@ -52,23 +50,6 @@ const SvIdentifier & SvMetaAttribute::GetSlotId() const
return static_cast<SvMetaAttribute *>(GetRef())->GetSlotId();
}
-bool SvMetaAttribute::GetExport() const
-{
- if( aExport.IsSet() || !GetRef() ) return aExport;
- return static_cast<SvMetaAttribute *>(GetRef())->GetExport();
-}
-
-bool SvMetaAttribute::GetHidden() const
-{
- // when export is set, but hidden is not the default is used
- if ( aExport.IsSet() )
- return !aExport;
- else if( !GetRef() )
- return false;
- else
- return static_cast<SvMetaAttribute *>(GetRef())->GetHidden();
-}
-
bool SvMetaAttribute::IsMethod() const
{
SvMetaType * pType = GetType();
@@ -143,7 +124,6 @@ void SvMetaAttribute::ReadAttributesSvIdl( SvIdlDataBase & rBase,
SvTokenStream & rInStm )
{
SvMetaReference::ReadAttributesSvIdl( rBase, rInStm );
- aExport.ReadSvIdl( SvHash_Export(), rInStm );
}
sal_uLong SvMetaAttribute::MakeSfx( OStringBuffer& rAttrArray )