diff options
Diffstat (limited to 'rsc/source/res/rsccont.cxx')
-rw-r--r-- | rsc/source/res/rsccont.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/rsc/source/res/rsccont.cxx b/rsc/source/res/rsccont.cxx index 012aa28c0d4d..c3bf6193e6fa 100644 --- a/rsc/source/res/rsccont.cxx +++ b/rsc/source/res/rsccont.cxx @@ -37,14 +37,12 @@ void ENTRY_STRUCT::Destroy() RscBaseCont::RscBaseCont( Atom nId, sal_uInt32 nTypeId, RscTop * pSuper, bool bNoIdent ) - : RscTop( nId, nTypeId, pSuper ) - , nSize( 0 ) -{ - pTypeClass = nullptr; - pTypeClass1 = nullptr; - bNoId = bNoIdent; - nOffInstData = RscTop::Size(); - nSize = nOffInstData + ALIGNED_SIZE( sizeof( RscBaseContInst ) ); + : RscTop(nId, nTypeId, pSuper) + , pTypeClass(nullptr), pTypeClass1(nullptr) + , bNoId(bNoIdent), nOffInstData(RscTop::Size()) + , nSize(nOffInstData + ALIGNED_SIZE(sizeof(RscBaseContInst))) + +{ } RscBaseCont::~RscBaseCont() |