diff options
author | Noel Grandin <noel@peralex.com> | 2012-09-25 16:48:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-04 21:29:33 +0200 |
commit | 2e7c6b8684a40f30b2af38be035802d222b24d20 (patch) | |
tree | 8c0109e667d7358553ae9710fd1275065e4e98c5 | |
parent | 4faa36e42fd421d2abebd448f5ae3a6f7944f098 (diff) |
sal_Bool->bool in padmin
Change-Id: Ica624c28b4e423531be3ef6a601f266d1cad1d07
-rw-r--r-- | padmin/source/progress.cxx | 6 | ||||
-rw-r--r-- | padmin/source/progress.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/padmin/source/progress.cxx b/padmin/source/progress.cxx index 135a5dcb257a..a87a3d0c70a3 100644 --- a/padmin/source/progress.cxx +++ b/padmin/source/progress.cxx @@ -40,7 +40,7 @@ ProgressDialog::ProgressDialog( Window* pParent, maProgressBar( this, PaResId( RID_PROGRESS_STATUSBAR ) ), mnMax( nMax ), mnMin( nMin ), - mbCanceled( sal_False ) + mbCanceled( false ) { maFilename.SetStyle( maFilename.GetStyle() | WB_PATHELLIPSIS ); if( ! bCancelable ) @@ -64,7 +64,7 @@ void ProgressDialog::startOperation( const String& rOperation ) { maOperation.SetText( rOperation ); maProgressBar.SetValue( 0 ); - mbCanceled = sal_False; + mbCanceled = false; if( ! IsVisible() ) Show( sal_True ); } @@ -86,7 +86,7 @@ IMPL_LINK( ProgressDialog, ClickBtnHdl, Button*, pButton ) { if( pButton == &maCancelButton ) { - mbCanceled = sal_True; + mbCanceled = true; } return 0; } diff --git a/padmin/source/progress.hxx b/padmin/source/progress.hxx index 890f0a1cf835..dcb8a09a90db 100644 --- a/padmin/source/progress.hxx +++ b/padmin/source/progress.hxx @@ -37,7 +37,7 @@ namespace padmin { ProgressBar maProgressBar; int mnMax, mnMin; - sal_Bool mbCanceled; + bool mbCanceled; public: ProgressDialog( Window*, sal_Bool bCancelable = sal_True, int nMin = 0, int nMax = 100 ); @@ -50,7 +50,7 @@ namespace padmin { void startOperation( const String& ); void setFilename( const String& ); - sal_Bool isCanceled() { return mbCanceled; } + bool isCanceled() { return mbCanceled; } }; } // namespace |