From 7a6fb939053f0c4f5c3e653fe4b21bc2d904d7dc Mon Sep 17 00:00:00 2001 From: Arnaud VERSINI Date: Fri, 24 Dec 2021 20:23:28 +0100 Subject: idl : remove useless define and copy the code directly ! Change-Id: I92d53beb110a44624b72f7ec76ab8d1089f9caf0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127438 Reviewed-by: Noel Grandin Reviewed-by: Mike Kaganski Tested-by: Mike Kaganski --- idl/source/objects/types.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'idl') diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 46262e7b98d9..a3dde07d96a7 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -119,17 +119,15 @@ void SvMetaAttribute::Insert(SvSlotElementList&) { } -#define CTOR \ - : nType( MetaTypeType::Base ) \ - , bIsItem( false ) \ - SvMetaType::SvMetaType() - CTOR + : nType( MetaTypeType::Base ) + , bIsItem( false ) { } SvMetaType::SvMetaType( const OString& rName ) - CTOR + : nType( MetaTypeType::Base ) + , bIsItem( false ) { SetName( rName ); } -- cgit v1.2.3