diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rsclst.hxx | 4 | ||||
-rw-r--r-- | rsc/source/misc/rscdbl.cxx | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/rsc/inc/rsclst.hxx b/rsc/inc/rsclst.hxx index 3cbf4b25b77a..b115c2b4f066 100644 --- a/rsc/inc/rsclst.hxx +++ b/rsc/inc/rsclst.hxx @@ -34,9 +34,7 @@ class REResourceList; -DECLARE_LIST( RESubResourceList, REResourceList * ) - -class REResourceList : public RESubResourceList +class REResourceList { protected: REResourceList* pParent; diff --git a/rsc/source/misc/rscdbl.cxx b/rsc/source/misc/rscdbl.cxx index 8c31bbd32d43..127a4d38a0e8 100644 --- a/rsc/source/misc/rscdbl.cxx +++ b/rsc/source/misc/rscdbl.cxx @@ -43,9 +43,9 @@ |* *************************************************************************/ REResourceList * InsertList( Atom nClassName, const RscId& rId, - REResourceList * pList ){ + REResourceList * pList ) { REResourceList * pSubList; - const char * pStrClass; + const char * pStrClass; ByteString aStrClass; pStrClass = pHS->getString( nClassName ).getStr(); @@ -56,8 +56,7 @@ REResourceList * InsertList( Atom nClassName, const RscId& rId, pSubList = new REResourceList( pList, aStrClass, rId ); - pList->Insert( pSubList, 0xFFFFFFFF ); - return( pSubList ); + return pSubList; } void FillSubList( RSCINST & rInst, REResourceList * pList ) |