diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-03 02:35:31 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-03 20:53:12 +0000 |
commit | bb45bdf359c65c174fd557d615f77ceb46fa685c (patch) | |
tree | 1f87575ee1d0471b14f5078a99d3a589d955d56d /rsc/inc/rscall.h | |
parent | 27a4d5597c0757611d0e2e682d0c05441859cc4e (diff) |
module rsc: String, bool and other clean-up.
Change-Id: I2dcde42e6068631a5a643961a764df86dc63dca2
Reviewed-on: https://gerrit.libreoffice.org/4690
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'rsc/inc/rscall.h')
-rw-r--r-- | rsc/inc/rscall.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/rsc/inc/rscall.h b/rsc/inc/rscall.h index 96b3954174d3..b1b919205304 100644 --- a/rsc/inc/rscall.h +++ b/rsc/inc/rscall.h @@ -70,25 +70,28 @@ extern AtomContainer* pHS; /******************* T y p e s *******************************************/ enum RSCCLASS_TYPE { RSCCLASS_BOOL, RSCCLASS_STRING, RSCCLASS_NUMBER, - RSCCLASS_CONST, RSCCLASS_COMPLEX, RSCCLASS_ENUMARRAY }; + RSCCLASS_CONST, RSCCLASS_COMPLEX, RSCCLASS_ENUMARRAY }; typedef void (* VarEnumCallbackProc)( void * pData, RSCCLASS_TYPE, Atom ); /******************* S t r u c t s ***************************************/ -struct RSCINST { +struct RSCINST +{ RscTop * pClass; CLASS_DATA pData; RSCINST(){ pClass = NULL; pData = NULL; } - RSCINST( RscTop * pCl, CLASS_DATA pClassData ){ - pClass = pCl; - pData = pClassData; - } - sal_Bool IsInst() const { return( pData != NULL ); } + RSCINST( RscTop * pCl, CLASS_DATA pClassData ) + { + pClass = pCl; + pData = pClassData; + } + bool IsInst() const { return( pData != NULL ); } }; /********************** S U B I N F O S T R U C T ************************/ -struct SUBINFO_STRUCT { +struct SUBINFO_STRUCT +{ SUBINFO_STRUCT(){ nPos = 0; pClass = NULL; }; RscId aId; // Identifier der Resource sal_uInt32 nPos; // Position der Resource |