diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-26 08:51:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-27 13:45:08 +0200 |
commit | d7c5d9e3853af0261204fde6c14b349d9c3d9863 (patch) | |
tree | 33934d16634e13ce909ec70a8c32b91259204217 /include | |
parent | 21dcef5388e8e5941380225ccb808daa7b1c5620 (diff) |
basic: sal_Bool->bool
Change-Id: Idfe18863b2c6f60da5192d661f66e85a2bac09e5
Diffstat (limited to 'include')
-rw-r--r-- | include/basic/basmgr.hxx | 30 | ||||
-rw-r--r-- | include/basic/modsizeexceeded.hxx | 4 |
2 files changed, 17 insertions, 17 deletions
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx index 17f8a23646c2..9a55f5d92e7c 100644 --- a/include/basic/basmgr.hxx +++ b/include/basic/basmgr.hxx @@ -76,7 +76,7 @@ public: virtual void setLibraryPassword( const OUString& rLibraryName, const OUString& rPassword ) = 0; virtual OUString getLibraryPassword( const OUString& rLibraryName ) = 0; virtual void clearLibraryPassword( const OUString& rLibraryName ) = 0; - virtual sal_Bool hasLibraryPassword( const OUString& rLibraryName ) = 0; + virtual bool hasLibraryPassword( const OUString& rLibraryName ) = 0; protected: ~OldBasicPassword() {} @@ -130,17 +130,17 @@ private: BASIC_DLLPRIVATE void Init(); protected: - sal_Bool ImpLoadLibrary( BasicLibInfo* pLibInfo ) const; - sal_Bool ImpLoadLibrary( BasicLibInfo* pLibInfo, SotStorage* pCurStorage, sal_Bool bInfosOnly = sal_False ); + bool ImpLoadLibrary( BasicLibInfo* pLibInfo ) const; + bool ImpLoadLibrary( BasicLibInfo* pLibInfo, SotStorage* pCurStorage, bool bInfosOnly = false ); void ImpCreateStdLib( StarBASIC* pParentFromStdLib ); void ImpMgrNotLoaded( const OUString& rStorageName ); BasicLibInfo* CreateLibInfo(); - void LoadBasicManager( SotStorage& rStorage, const OUString& rBaseURL, sal_Bool bLoadBasics = sal_True ); + void LoadBasicManager( SotStorage& rStorage, const OUString& rBaseURL, bool bLoadBasics = true ); void LoadOldBasicManager( SotStorage& rStorage ); - sal_Bool ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) const; - sal_Bool ImplEncryptStream( SvStream& rStream ) const; + bool ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) const; + bool ImplEncryptStream( SvStream& rStream ) const; BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const; - void CheckModules( StarBASIC* pBasic, sal_Bool bReference ) const; + void CheckModules( StarBASIC* pBasic, bool bReference ) const; ~BasicManager(); public: @@ -182,11 +182,11 @@ public: const ::com::sun::star::uno::Reference< com::sun::star::script::XPersistentLibraryContainer >& GetScriptLibraryContainer() const; - sal_Bool LoadLib( sal_uInt16 nLib ); - sal_Bool RemoveLib( sal_uInt16 nLib, sal_Bool bDelBasicFromStorage ); + bool LoadLib( sal_uInt16 nLib ); + bool RemoveLib( sal_uInt16 nLib, bool bDelBasicFromStorage ); // Modify-Flag will be reset only during save. - sal_Bool IsBasicModified() const; + bool IsBasicModified() const; std::vector<BasicError>& GetErrors(); @@ -215,14 +215,14 @@ public: ErrCode ExecuteMacro( OUString const& i_fullyQualifiedName, OUString const& i_commaSeparatedArgs, SbxValue* i_retValue ); private: - BASIC_DLLPRIVATE sal_Bool IsReference( sal_uInt16 nLib ); + BASIC_DLLPRIVATE bool IsReference( sal_uInt16 nLib ); - BASIC_DLLPRIVATE sal_Bool SetLibName( sal_uInt16 nLib, const OUString& rName ); + BASIC_DLLPRIVATE bool SetLibName( sal_uInt16 nLib, const OUString& rName ); BASIC_DLLPRIVATE StarBASIC* GetStdLib() const; - BASIC_DLLPRIVATE StarBASIC* AddLib( SotStorage& rStorage, const OUString& rLibName, sal_Bool bReference ); - BASIC_DLLPRIVATE sal_Bool RemoveLib( sal_uInt16 nLib ); - BASIC_DLLPRIVATE sal_Bool HasLib( const OUString& rName ) const; + BASIC_DLLPRIVATE StarBASIC* AddLib( SotStorage& rStorage, const OUString& rLibName, bool bReference ); + BASIC_DLLPRIVATE bool RemoveLib( sal_uInt16 nLib ); + BASIC_DLLPRIVATE bool HasLib( const OUString& rName ) const; BASIC_DLLPRIVATE StarBASIC* CreateLibForLibContainer( const OUString& rLibName, const com::sun::star::uno::Reference< com::sun::star::script::XLibraryContainer >& diff --git a/include/basic/modsizeexceeded.hxx b/include/basic/modsizeexceeded.hxx index 7b6a12769c46..fea636fcb937 100644 --- a/include/basic/modsizeexceeded.hxx +++ b/include/basic/modsizeexceeded.hxx @@ -30,8 +30,8 @@ class BASIC_DLLPUBLIC ModuleSizeExceeded : public ::cppu::WeakImplHelper1< ::com public: ModuleSizeExceeded( const com::sun::star::uno::Sequence<OUString>& sModules ); - sal_Bool isAbort() const; - sal_Bool isApprove() const; + bool isAbort() const; + bool isApprove() const; // UNO interface public: |