From 2cce17c5b5637744b1086f14dfcd2d9cbbfa5710 Mon Sep 17 00:00:00 2001 From: Carsten Driesner Date: Fri, 14 Jan 2011 15:09:57 +0100 Subject: removetooltypes01: #i112600# Remove tools types from padmin --- padmin/source/progress.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'padmin/source/progress.cxx') 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; } -- cgit