diff options
Diffstat (limited to 'rsc/source/res/rscflag.cxx')
-rw-r--r-- | rsc/source/res/rscflag.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rsc/source/res/rscflag.cxx b/rsc/source/res/rscflag.cxx index 1c4b04ba1974..4ac6473294cc 100644 --- a/rsc/source/res/rscflag.cxx +++ b/rsc/source/res/rscflag.cxx @@ -29,7 +29,7 @@ RscFlag::RscFlag( Atom nId, sal_uInt32 nTypeId ) { } -sal_uInt32 RscFlag::Size() +sal_uInt32 RscFlag::Size() const { return ALIGNED_SIZE( sizeof( RscFlagInst ) * ( 1 + (nEntries -1) / (sizeof( sal_uInt32 ) * 8) ) ); @@ -294,10 +294,8 @@ ERRTYPE RscFlag::WriteRc( const RSCINST & rInst, RscWriteRc & aMem, RscClient::RscClient( Atom nId, sal_uInt32 nTypeId, RscFlag * pClass, Atom nConstantId ) - : RscTop ( nId, nTypeId ) + : RscTop(nId, nTypeId), pRefClass(pClass), nConstId(nConstantId) { - pRefClass = pClass; - nConstId = nConstantId; } RSCCLASS_TYPE RscClient::GetClassType() const |