summaryrefslogtreecommitdiff
path: root/padmin/source/progress.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'padmin/source/progress.cxx')
-rw-r--r--padmin/source/progress.cxx10
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;
}