summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-09-08 22:59:22 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-09-08 23:05:11 +0900
commit969e6870e8e4c7b4452928d821ffe61384a376b1 (patch)
treef44f4d4771a7aeddab1d407bbd2cc7e2a8993231 /basic/inc
parentec580b3a1d9bc240479dcce6fca07b6d83c35e1a (diff)
sal_Bool to bool
Change-Id: I86e5b49ccc9737517ecde17dbdaba44eeaee2371
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/basic/sbstar.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx
index e40583a3d04a..451e6117dd88 100644
--- a/basic/inc/basic/sbstar.hxx
+++ b/basic/inc/basic/sbstar.hxx
@@ -60,12 +60,12 @@ class BASIC_DLLPUBLIC StarBASIC : public SbxObject
// Handler-Support:
Link aErrorHdl; // Error handler
Link aBreakHdl; // Breakpoint handler
- sal_Bool bNoRtl; // if sal_True: do not search RTL
- sal_Bool bBreak; // if sal_True: Break, otherwise Step
+ bool bNoRtl; // if true: do not search RTL
+ bool bBreak; // if true: Break, otherwise Step
bool bDocBasic;
- sal_Bool bVBAEnabled;
+ bool bVBAEnabled;
BasicLibInfo* pLibInfo; // Info block for basic manager
- sal_Bool bQuit;
+ bool bQuit;
SbxObjectRef pVBAGlobals;
BASIC_DLLPRIVATE SbxObject* getVBAGlobals( );
@@ -120,7 +120,7 @@ public:
static void Error( SbError, const String& rMsg );
static void FatalError( SbError );
static void FatalError( SbError, const String& rMsg );
- static sal_Bool IsRunning();
+ static bool IsRunning();
static SbError GetErrBasic();
// #66536 make additional message accessible by RTL function Error
static String GetErrorMsg();
@@ -151,7 +151,7 @@ public:
static bool IsCompilerError();
static sal_uInt16 GetVBErrorCode( SbError nError );
static SbError GetSfxFromVBError( sal_uInt16 nError );
- sal_Bool IsBreak() const { return bBreak; }
+ bool IsBreak() const { return bBreak; }
static Link GetGlobalErrorHdl();
static void SetGlobalErrorHdl( const Link& rNewHdl );
@@ -167,15 +167,15 @@ public:
static SbxBase* FindSBXInCurrentScope( const String& rName );
static SbMethod* GetActiveMethod( sal_uInt16 nLevel = 0 );
static SbModule* GetActiveModule();
- void SetVBAEnabled( sal_Bool bEnabled );
- sal_Bool isVBAEnabled();
+ void SetVBAEnabled( bool bEnabled );
+ bool isVBAEnabled();
SbxObjectRef getRTL( void ) { return pRtl; }
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();
- sal_Bool IsQuitApplication() { return bQuit; };
+ bool IsQuitApplication() { return bQuit; };
static ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >
GetModelFromBasic( SbxObject* pBasic );