summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorArnaud VERSINI <arnaud.versini@pm.me>2021-12-24 20:23:28 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2021-12-25 08:32:26 +0100
commit7a6fb939053f0c4f5c3e653fe4b21bc2d904d7dc (patch)
tree1d74ee8c018a9c38d2da99ca2afecb33ac2fda16 /idl
parent57415c0f65478a699182e90ccc3b71e3d53a9a22 (diff)
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 <noel.grandin@collabora.co.uk> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/types.cxx10
1 files changed, 4 insertions, 6 deletions
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 );
}