diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-14 15:09:57 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-14 15:09:57 +0100 |
commit | 2cce17c5b5637744b1086f14dfcd2d9cbbfa5710 (patch) | |
tree | 8ee34a0c3365531d72bf4815d24c89c1a913cc11 /padmin/source/progress.cxx | |
parent | removetooltypes01: #i112600# fix TRUE/FALSE autodoc tags (diff) | |
download | core-2cce17c5b5637744b1086f14dfcd2d9cbbfa5710.tar.gz core-2cce17c5b5637744b1086f14dfcd2d9cbbfa5710.zip |
removetooltypes01: #i112600# Remove tools types from padmin
Diffstat (limited to 'padmin/source/progress.cxx')
-rw-r--r-- | padmin/source/progress.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/padmin/source/progress.cxx b/padmin/source/progress.cxx index 03ef67db8da9..9a7cf537a842 100644 --- a/padmin/source/progress.cxx +++ b/padmin/source/progress.cxx @@ -41,7 +41,7 @@ using namespace padmin; ProgressDialog::ProgressDialog( Window* pParent, - BOOL bCancelable, + sal_Bool bCancelable, int nMin, int nMax ) : ModelessDialog( pParent, PaResId( RID_PROGRESS_DLG ) ), maOperation( this, PaResId( RID_PROGRESS_OPERATION_TXT ) ), @@ -51,7 +51,7 @@ ProgressDialog::ProgressDialog( Window* pParent, maProgressBar( this, PaResId( RID_PROGRESS_STATUSBAR ) ), mnMax( nMax ), mnMin( nMin ), - mbCanceled( FALSE ) + mbCanceled( sal_False ) { maFilename.SetStyle( maFilename.GetStyle() | WB_PATHELLIPSIS ); if( ! bCancelable ) @@ -75,9 +75,9 @@ void ProgressDialog::startOperation( const String& rOperation ) { maOperation.SetText( rOperation ); maProgressBar.SetValue( 0 ); - mbCanceled = FALSE; + mbCanceled = sal_False; if( ! IsVisible() ) - Show( TRUE ); + Show( sal_True ); } void ProgressDialog::setValue( int nValue ) @@ -97,7 +97,7 @@ IMPL_LINK( ProgressDialog, ClickBtnHdl, Button*, pButton ) { if( pButton == &maCancelButton ) { - mbCanceled = TRUE; + mbCanceled = sal_True; } return 0; } |