Kaydet (Commit) 2e7c6b86 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

sal_Bool->bool in padmin

Change-Id: Ica624c28b4e423531be3ef6a601f266d1cad1d07
üst 4faa36e4
......@@ -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;
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment