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/rsclex.hxx | |
parent | Fixes to compiler errors, setRegressionProperties description. (diff) | |
download | core-bb45bdf359c65c174fd557d615f77ceb46fa685c.tar.gz core-bb45bdf359c65c174fd557d615f77ceb46fa685c.zip |
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/rsclex.hxx')
-rw-r--r-- | rsc/inc/rsclex.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/rsc/inc/rsclex.hxx b/rsc/inc/rsclex.hxx index 2b6605f3604a..31069240468b 100644 --- a/rsc/inc/rsclex.hxx +++ b/rsc/inc/rsclex.hxx @@ -52,14 +52,16 @@ struct RSCHEADER { }; /************** O b j e c t s t a c k ************************************/ -struct Node { +struct Node +{ Node* pPrev; RSCINST aInst; sal_uInt32 nTupelRec; // Rekursionstiefe fuer Tupel - Node() { pPrev = NULL; nTupelRec = 0; }; + Node() { pPrev = NULL; nTupelRec = 0; } }; -class ObjectStack { +class ObjectStack +{ private : Node* pRoot; public : @@ -67,7 +69,7 @@ class ObjectStack { ObjectStack () { pRoot = NULL; } const RSCINST & Top () { return pRoot->aInst; } - sal_Bool IsEmpty() { return( pRoot == NULL ); } + bool IsEmpty() { return( pRoot == NULL ); } void IncTupelRec() { pRoot->nTupelRec++; } void DecTupelRec() { pRoot->nTupelRec--; } sal_uInt32 TupelRecCount() const { return pRoot->nTupelRec; } |