diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-08-19 17:49:02 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-08-19 17:55:27 +0900 |
commit | 38f3fe04324f68af67478f2f582129513c6c567e (patch) | |
tree | a3a17586dcb22d7038710d2f29ee0d54ff27d9a8 /basic/source/inc | |
parent | ef1fabb29d8b38da11c75384cec8979bfbc2dca4 (diff) |
sal_Bool to bool
Change-Id: I6206ee7e17e12388ea644123e180842df3e3a7ee
Diffstat (limited to 'basic/source/inc')
-rw-r--r-- | basic/source/inc/namecont.hxx | 16 | ||||
-rw-r--r-- | basic/source/inc/parser.hxx | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index cebfd582c111..cc5f67d271c3 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -228,8 +228,8 @@ protected: ModifiableHelper maModifiable; NameContainer maNameContainer; - sal_Bool mbOldInfoFormat; - sal_Bool mbOasis2OOoFormat; + bool mbOldInfoFormat; + bool mbOasis2OOoFormat; ::rtl::OUString maInitialDocumentURL; ::rtl::OUString maInfoFileName; @@ -240,7 +240,7 @@ protected: ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > mxStorage; BasicManager* mpBasMgr; - sal_Bool mbOwnBasMgr; + bool mbOwnBasMgr; enum InitMode { @@ -352,7 +352,7 @@ protected: void storeLibraries_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, - sal_Bool bComplete ); + bool bComplete ); void SAL_CALL initializeFromDocumentURL( const ::rtl::OUString& _rInitialDocumentURL ); void SAL_CALL initializeFromDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XStorageBasedDocument >& _rxDocument ); @@ -567,7 +567,7 @@ class SfxLibrary sal_Bool mbLoaded; sal_Bool mbIsModified; - sal_Bool mbInitialised; + bool mbInitialised; private: @@ -584,11 +584,11 @@ private: sal_Bool mbPasswordProtected; sal_Bool mbPasswordVerified; - sal_Bool mbDoc50Password; + bool mbDoc50Password; ::rtl::OUString maPassword; - sal_Bool mbSharedIndexFile; - sal_Bool mbExtension; + bool mbSharedIndexFile; + bool mbExtension; // Additional functionality for localisation // Provide modify state including resources diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx index 5616246012e6..7649cc261b0d 100644 --- a/basic/source/inc/parser.hxx +++ b/basic/source/inc/parser.hxx @@ -39,15 +39,15 @@ class SbiParser : public SbiTokenizer SbiExprNode* pWithVar; SbiToken eEndTok; sal_uInt32 nGblChain; // for global DIMs - sal_Bool bGblDefs; // sal_True global definitions general - sal_Bool bNewGblDefs; // sal_True globale definitions before sub - sal_Bool bSingleLineIf; + bool bGblDefs; // true: global definitions general + bool bNewGblDefs; // true: globale definitions before sub + bool bSingleLineIf; - SbiSymDef* VarDecl( SbiDimList**,sal_Bool,sal_Bool ); - SbiProcDef* ProcDecl(sal_Bool bDecl); + SbiSymDef* VarDecl( SbiDimList**, bool, bool ); + SbiProcDef* ProcDecl(bool bDecl); void DefStatic( sal_Bool bPrivate ); void DefProc( sal_Bool bStatic, sal_Bool bPrivate ); // read in procedure - void DefVar( SbiOpcode eOp, sal_Bool bStatic ); // read in DIM/REDIM + void DefVar( SbiOpcode eOp, bool bStatic ); // read in DIM/REDIM void TypeDecl( SbiSymDef&, sal_Bool bAsNewAlreadyParsed=sal_False ); // AS-declaration void OpenBlock( SbiToken, SbiExprNode* = NULL ); void CloseBlock(); @@ -71,7 +71,7 @@ public: SbiExprType eCurExpr; short nBase; // OPTION BASE-value sal_Bool bText; // OPTION COMPARE TEXT - sal_Bool bExplicit; // sal_True: OPTION EXPLICIT + bool bExplicit; // true: OPTION EXPLICIT sal_Bool bClassModule; // sal_True: OPTION ClassModule StringVector aIfaceVector; // Holds all interfaces implemented by a class module StringVector aRequiredTypes; // Types used in Dim As New <type> outside subs @@ -85,7 +85,7 @@ public: SbiSymDef* CheckRTLForSym( const String& rSym, SbxDataType eType ); void AddConstants( void ); - sal_Bool HasGlobalCode(); + bool HasGlobalCode(); sal_Bool TestToken( SbiToken ); sal_Bool TestSymbol( sal_Bool=sal_False ); |