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 | |
parent | ac01de882d368c4d8044361f874edd4b53e33f2b (diff) |
sfx2: sal_Bool->bool
Change-Id: Ib2a02c7e05e48657b9745bcccc8f8f626daaef2d
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/printer.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/prnmon.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/progress.hxx | 16 | ||||
-rw-r--r-- | include/sfx2/request.hxx | 20 |
4 files changed, 22 insertions, 22 deletions
diff --git a/include/sfx2/printer.hxx b/include/sfx2/printer.hxx index 73e990efa71a..6994cb58abcf 100644 --- a/include/sfx2/printer.hxx +++ b/include/sfx2/printer.hxx @@ -37,7 +37,7 @@ private: JobSetup aOrigJobSetup; SfxItemSet* pOptions; SfxPrinter_Impl* pImpl; - sal_Bool bKnown; + bool bKnown; SAL_DLLPRIVATE void operator =(SfxPrinter &); // not defined @@ -66,8 +66,8 @@ public: const SfxItemSet& GetOptions() const { return *pOptions; } void SetOptions( const SfxItemSet &rNewOptions ); - sal_Bool IsKnown() const { return bKnown; } - sal_Bool IsOriginal() const { return bKnown; } + bool IsKnown() const { return bKnown; } + bool IsOriginal() const { return bKnown; } }; #endif diff --git a/include/sfx2/prnmon.hxx b/include/sfx2/prnmon.hxx index 15a9a2881437..95ea9ea3398c 100644 --- a/include/sfx2/prnmon.hxx +++ b/include/sfx2/prnmon.hxx @@ -46,7 +46,7 @@ public: const SfxItemSet *rOptions ); virtual ~SfxPrintOptionsDialog(); - sal_Bool Construct(); + bool Construct(); virtual short Execute(); virtual bool Notify( NotifyEvent& rNEvt ); 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(); diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx index 55f7f1c86f0f..0512e6853d7a 100644 --- a/include/sfx2/request.hxx +++ b/include/sfx2/request.hxx @@ -88,20 +88,20 @@ public: const SfxPoolItem* GetReturnValue() const; static com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > GetMacroRecorder( SfxViewFrame* pFrame=NULL ); - static sal_Bool HasMacroRecorder( SfxViewFrame* pFrame=NULL ); - sal_uInt16 GetCallMode() const; - void AllowRecording( sal_Bool ); - sal_Bool AllowsRecording() const; - sal_Bool IsAPI() const; - sal_Bool IsSynchronCall() const; - void SetSynchronCall( sal_Bool bSynchron ); + static bool HasMacroRecorder( SfxViewFrame* pFrame=NULL ); + sal_uInt16 GetCallMode() const; + void AllowRecording( bool ); + bool AllowsRecording() const; + bool IsAPI() const; + bool IsSynchronCall() const; + void SetSynchronCall( bool bSynchron ); - sal_Bool IsDone() const; - void Done( sal_Bool bRemove = sal_False ); + bool IsDone() const; + void Done( bool bRemove = false ); void Ignore(); void Cancel(); - sal_Bool IsCancelled() const; + bool IsCancelled() const; void Done(const SfxItemSet &, bool bKeep = true ); void ForgetAllArgs(); |