diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-17 14:23:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-18 11:27:38 +0200 |
commit | fb77ab1dc237faec245633f99d727350d9ae295f (patch) | |
tree | a59d223b3175ab5d594c7ddb13a4acca3569c242 /include/sfx2/progress.hxx | |
parent | ac01de882d368c4d8044361f874edd4b53e33f2b (diff) |
sfx2: sal_Bool->bool
Change-Id: Ib2a02c7e05e48657b9745bcccc8f8f626daaef2d
Diffstat (limited to 'include/sfx2/progress.hxx')
-rw-r--r-- | include/sfx2/progress.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/sfx2/progress.hxx b/include/sfx2/progress.hxx index 0e21a4386336..c5f534fef40e 100644 --- a/include/sfx2/progress.hxx +++ b/include/sfx2/progress.hxx @@ -36,24 +36,24 @@ struct SvProgressArg; class SFX2_DLLPUBLIC SfxProgress { SfxProgress_Impl* pImp; - sal_uIntPtr nVal; - sal_Bool bSuspended; + sal_uIntPtr nVal; + bool bSuspended; public: SfxProgress( SfxObjectShell* pObjSh, const rtl::OUString& rText, - sal_uIntPtr nRange, sal_Bool bAllDocs = sal_False, - sal_Bool bWait = sal_True ); + sal_uIntPtr nRange, bool bAllDocs = false, + bool bWait = true ); virtual ~SfxProgress(); virtual void SetText( const OUString& rText ); - sal_Bool SetStateText( sal_uIntPtr nVal, const rtl::OUString &rVal, sal_uIntPtr nNewRange = 0 ); - virtual sal_Bool SetState( sal_uIntPtr nVal, sal_uIntPtr nNewRange = 0 ); - sal_uIntPtr GetState() const { return nVal; } + bool SetStateText( sal_uIntPtr nVal, const rtl::OUString &rVal, sal_uIntPtr nNewRange = 0 ); + virtual bool SetState( sal_uIntPtr nVal, sal_uIntPtr nNewRange = 0 ); + sal_uIntPtr GetState() const { return nVal; } void Resume(); void Suspend(); - sal_Bool IsSuspended() const { return bSuspended; } + bool IsSuspended() const { return bSuspended; } void UnLock(); void Reschedule(); |