diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /padmin | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/adddlg.cxx | 26 | ||||
-rw-r--r-- | padmin/source/padialog.cxx | 2 | ||||
-rw-r--r-- | padmin/source/prtsetup.cxx | 8 |
3 files changed, 18 insertions, 18 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx index c57a84c420de..8943f367cf07 100644 --- a/padmin/source/adddlg.cxx +++ b/padmin/source/adddlg.cxx @@ -55,16 +55,16 @@ APChooseDevicePage::APChooseDevicePage( AddPrinterDialog* pParent ) : m_aOverTxt( this, PaResId( RID_ADDP_CHDEV_TXT_OVER ) ) { FreeResource(); - m_aPrinterBtn.Check( sal_True ); - m_aFaxBtn.Check( sal_False ); - m_aPDFBtn.Check( sal_False ); - m_aOldBtn.Check( sal_False ); + m_aPrinterBtn.Check( true ); + m_aFaxBtn.Check( false ); + m_aPDFBtn.Check( false ); + m_aOldBtn.Check( false ); if( AddPrinterDialog::getOldPrinterLocation().isEmpty() ) m_aOldBtn.Enable( false ); if( ! PrinterInfoManager::get().addOrRemovePossible() ) { - m_aPrinterBtn.Check( sal_False ); - m_aFaxBtn.Check( sal_True ); + m_aPrinterBtn.Check( false ); + m_aFaxBtn.Check( true ); m_aPrinterBtn.Enable( false ); m_aOldBtn.Enable( false ); } @@ -334,8 +334,8 @@ APNamePage::APNamePage( AddPrinterDialog* pParent, const OUString& rInitName, De m_aFaxSwallowBox.Show( false ); m_aNameEdt.SetText( AddPrinterDialog::uniquePrinterName( m_aNameEdt.GetText() ) ); - m_aDefaultBox.Check( sal_False ); - m_aFaxSwallowBox.Check( sal_False ); + m_aDefaultBox.Check( false ); + m_aFaxSwallowBox.Check( false ); } APNamePage::~APNamePage() @@ -666,8 +666,8 @@ APFaxDriverPage::APFaxDriverPage( AddPrinterDialog* pParent ) { FreeResource(); - m_aDefBtn.Check( sal_True ); - m_aSelectBtn.Check( sal_False ); + m_aDefBtn.Check( true ); + m_aSelectBtn.Check( false ); m_aSelectBtn.SetStyle( m_aSelectBtn.GetStyle() | WB_WORDBREAK ); } @@ -699,9 +699,9 @@ APPdfDriverPage::APPdfDriverPage( AddPrinterDialog* pParent ) { FreeResource(); - m_aDefBtn.Check( sal_True ); - m_aDistBtn.Check( sal_False ); - m_aSelectBtn.Check( sal_False ); + m_aDefBtn.Check( true ); + m_aDistBtn.Check( false ); + m_aSelectBtn.Check( false ); m_aSelectBtn.SetStyle( m_aSelectBtn.GetStyle() | WB_WORDBREAK ); } diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx index 4794388798a8..93788e49c382 100644 --- a/padmin/source/padialog.cxx +++ b/padmin/source/padialog.cxx @@ -614,7 +614,7 @@ void PADialog::RemDevice() { if (m_aDevicesLB.GetEntry(i).equals(aDefPrinter)) { - m_aDevicesLB.SelectEntryPos( i, sal_True ); + m_aDevicesLB.SelectEntryPos( i, true ); UpdateText(); break; } diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx index 952a11bbdd25..67ab55740003 100644 --- a/padmin/source/prtsetup.cxx +++ b/padmin/source/prtsetup.cxx @@ -526,10 +526,10 @@ RTSOtherPage::RTSOtherPage( RTSDialog* pParent ) : { FreeResource(); - m_aTopLB.EnableEmptyFieldValue( sal_True ); - m_aBottomLB.EnableEmptyFieldValue( sal_True ); - m_aLeftLB.EnableEmptyFieldValue( sal_True ); - m_aRightLB.EnableEmptyFieldValue( sal_True ); + m_aTopLB.EnableEmptyFieldValue( true ); + m_aBottomLB.EnableEmptyFieldValue( true ); + m_aLeftLB.EnableEmptyFieldValue( true ); + m_aRightLB.EnableEmptyFieldValue( true ); m_aDefaultBtn.SetClickHdl( LINK( this, RTSOtherPage, ClickBtnHdl ) ); |