summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-09-07 04:59:11 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-09-07 09:57:39 +0900
commit00b7328732f560b3c8517f0125e22b6ce6064c09 (patch)
tree11a0df126c18a5a9a34056d9f585d12e0032dd99 /basic/inc
parent30affe2f2fde8add8b1e89799e0e09515ccd9e54 (diff)
sal_Bool to bool
Change-Id: Ie8a128db35bebcdcee5eda984a7875339418d9bb
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/basic/basmgr.hxx6
-rw-r--r--basic/inc/basic/basrdll.hxx8
-rw-r--r--basic/inc/basic/sbmod.hxx2
-rw-r--r--basic/inc/basic/sbstar.hxx6
-rw-r--r--basic/inc/basic/sbxfac.hxx6
5 files changed, 14 insertions, 14 deletions
diff --git a/basic/inc/basic/basmgr.hxx b/basic/inc/basic/basmgr.hxx
index a52771e29fde..69ddb8e056a3 100644
--- a/basic/inc/basic/basmgr.hxx
+++ b/basic/inc/basic/basmgr.hxx
@@ -124,7 +124,7 @@ private:
String aName;
String maStorageName;
- sal_Bool mbDocMgr;
+ bool mbDocMgr;
BasicManagerImpl* mpImpl;
@@ -146,8 +146,8 @@ protected:
public:
TYPEINFO();
- BasicManager( SotStorage& rStorage, const String& rBaseURL, StarBASIC* pParentFromStdLib = NULL, String* pLibPath = NULL, sal_Bool bDocMgr = sal_False );
- BasicManager( StarBASIC* pStdLib, String* pLibPath = NULL, sal_Bool bDocMgr = sal_False );
+ BasicManager( SotStorage& rStorage, const String& rBaseURL, StarBASIC* pParentFromStdLib = NULL, String* pLibPath = NULL, bool bDocMgr = false );
+ BasicManager( StarBASIC* pStdLib, String* pLibPath = NULL, bool bDocMgr = false );
/** deletes the given BasicManager instance
diff --git a/basic/inc/basic/basrdll.hxx b/basic/inc/basic/basrdll.hxx
index 3e920e68b4a1..20edde65b9cd 100644
--- a/basic/inc/basic/basrdll.hxx
+++ b/basic/inc/basic/basrdll.hxx
@@ -30,8 +30,8 @@ class BASIC_DLLPUBLIC BasicDLL
private:
ResMgr* pBasResMgr;
- sal_Bool bDebugMode;
- sal_Bool bBreakEnabled;
+ bool bDebugMode;
+ bool bBreakEnabled;
public:
BasicDLL();
@@ -41,8 +41,8 @@ public:
static void BasicBreak();
- static void EnableBreak( sal_Bool bEnable );
- static void SetDebugMode( sal_Bool bDebugMode );
+ static void EnableBreak( bool bEnable );
+ static void SetDebugMode( bool bDebugMode );
};
#define BASIC_DLL() (*(BasicDLL**)GetAppData( SHL_BASIC ) )
diff --git a/basic/inc/basic/sbmod.hxx b/basic/inc/basic/sbmod.hxx
index e654c53addad..ea9fff53db33 100644
--- a/basic/inc/basic/sbmod.hxx
+++ b/basic/inc/basic/sbmod.hxx
@@ -80,7 +80,7 @@ protected:
void RunInit();
void ClearPrivateVars();
void ClearVarsDependingOnDeletedBasic( StarBASIC* pDeletedBasic );
- void GlobalRunInit( sal_Bool bBasicStart ); // for all modules
+ void GlobalRunInit( bool bBasicStart ); // for all modules
void GlobalRunDeInit( void );
const sal_uInt8* FindNextStmnt( const sal_uInt8*, sal_uInt16&, sal_uInt16& ) const;
const sal_uInt8* FindNextStmnt( const sal_uInt8*, sal_uInt16&, sal_uInt16&,
diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx
index 68765f4c79f8..e40583a3d04a 100644
--- a/basic/inc/basic/sbstar.hxx
+++ b/basic/inc/basic/sbstar.hxx
@@ -62,7 +62,7 @@ class BASIC_DLLPUBLIC StarBASIC : public SbxObject
Link aBreakHdl; // Breakpoint handler
sal_Bool bNoRtl; // if sal_True: do not search RTL
sal_Bool bBreak; // if sal_True: Break, otherwise Step
- sal_Bool bDocBasic;
+ bool bDocBasic;
sal_Bool bVBAEnabled;
BasicLibInfo* pLibInfo; // Info block for basic manager
sal_Bool bQuit;
@@ -93,7 +93,7 @@ public:
SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_BASIC,1);
TYPEINFO();
- StarBASIC( StarBASIC* pParent = NULL, sal_Bool bIsDocBasic = sal_False );
+ StarBASIC( StarBASIC* pParent = NULL, bool bIsDocBasic = false );
// #51727 SetModified overridden so that the Modfied-State is
// not delivered to Parent.
@@ -171,7 +171,7 @@ public:
sal_Bool isVBAEnabled();
SbxObjectRef getRTL( void ) { return pRtl; }
- sal_Bool IsDocBasic() { return bDocBasic; }
+ bool IsDocBasic() { return bDocBasic; }
SbxVariable* VBAFind( const rtl::OUString& rName, SbxClassType t );
bool GetUNOConstant( const sal_Char* _pAsciiName, ::com::sun::star::uno::Any& aOut );
void QuitAndExitApplication();
diff --git a/basic/inc/basic/sbxfac.hxx b/basic/inc/basic/sbxfac.hxx
index e36cbe6a5948..ce368dccf3b8 100644
--- a/basic/inc/basic/sbxfac.hxx
+++ b/basic/inc/basic/sbxfac.hxx
@@ -29,11 +29,11 @@ class SbxObject;
class BASIC_DLLPUBLIC SbxFactory
{
- sal_Bool bHandleLast; // sal_True: Factory is asked at last because of its expensiveness
+ bool bHandleLast; // true: Factory is asked at last because of its expensiveness
public:
virtual ~SbxFactory();
- SbxFactory( sal_Bool bLast=sal_False ) { bHandleLast = bLast; }
- sal_Bool IsHandleLast( void ) { return bHandleLast; }
+ SbxFactory( bool bLast=false ) { bHandleLast = bLast; }
+ bool IsHandleLast( void ) { return bHandleLast; }
virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX );
virtual SbxObject* CreateObject( const rtl::OUString& );
};