diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-25 14:00:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:44:42 +0200 |
commit | 6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch) | |
tree | 04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/source/ui/envelp | |
parent | 1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff) |
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/source/ui/envelp')
-rw-r--r-- | sw/source/ui/envelp/envfmt.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/envelp/envlop1.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/envelp/envprt.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/envelp/label1.cxx | 10 | ||||
-rw-r--r-- | sw/source/ui/envelp/labelexp.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/envelp/labfmt.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/envelp/mailmrge.cxx | 8 | ||||
-rw-r--r-- | sw/source/ui/envelp/swuilabimp.hxx | 2 |
8 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx index 82f94802a6d6..8a62fff1eaf3 100644 --- a/sw/source/ui/envelp/envfmt.cxx +++ b/sw/source/ui/envelp/envfmt.cxx @@ -136,7 +136,7 @@ SwEnvFmtPage::SwEnvFmtPage(Window* pParent, const SfxItemSet& rSet) SetExchangeSupport(); // Metrics - FieldUnit aMetric = ::GetDfltMetric(sal_False); + FieldUnit aMetric = ::GetDfltMetric(false); SetMetric(*m_pAddrLeftField, aMetric); SetMetric(*m_pAddrTopField, aMetric); SetMetric(*m_pSendLeftField, aMetric); diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx index 67dec60a65d3..bd0eebc77e5e 100644 --- a/sw/source/ui/envelp/envlop1.cxx +++ b/sw/source/ui/envelp/envlop1.cxx @@ -135,7 +135,7 @@ void SwEnvPreview::Paint(const Rectangle &) } SwEnvDlg::SwEnvDlg(Window* pParent, const SfxItemSet& rSet, - SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert) + SwWrtShell* pWrtSh, Printer* pPrt, bool bInsert) : SfxTabDialog(pParent, "EnvDialog", "modules/swriter/ui/envdialog.ui", &rSet) , aEnvItem((const SwEnvItem&) rSet.Get(FN_ENVELOP)) @@ -269,7 +269,7 @@ IMPL_LINK_NOARG(SwEnvPage, FieldHdl) IMPL_LINK_NOARG(SwEnvPage, SenderHdl) { - const sal_Bool bEnable = m_pSenderBox->IsChecked(); + const bool bEnable = m_pSenderBox->IsChecked(); GetParentSwEnvDlg()->aEnvItem.bSend = bEnable; m_pSenderEdit->Enable(bEnable); if ( bEnable ) diff --git a/sw/source/ui/envelp/envprt.cxx b/sw/source/ui/envelp/envprt.cxx index 714f2bc12642..492a816b3e49 100644 --- a/sw/source/ui/envelp/envprt.cxx +++ b/sw/source/ui/envelp/envprt.cxx @@ -42,7 +42,7 @@ SwEnvPrtPage::SwEnvPrtPage(Window* pParent, const SfxItemSet& rSet) SetExchangeSupport(); // Metrics - FieldUnit eUnit = ::GetDfltMetric(sal_False); + FieldUnit eUnit = ::GetDfltMetric(false); SetMetric(*m_pRightField, eUnit); SetMetric(*m_pDownField, eUnit); diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index b0b5b96e8976..a679796377f2 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -92,7 +92,7 @@ void SwLabDlg::PageCreated(sal_uInt16 nId, SfxTabPage &rPage) } SwLabDlg::SwLabDlg(Window* pParent, const SfxItemSet& rSet, - SwDBMgr* pDBMgr_, sal_Bool bLabel) + SwDBMgr* pDBMgr_, bool bLabel) : SfxTabDialog(pParent, "LabelDialog", "modules/swriter/ui/labeldialog.ui", &rSet) , pDBMgr(pDBMgr_) @@ -196,7 +196,7 @@ void SwLabDlg::GetLabItem(SwLabItem &rItem) } } -SwLabRec* SwLabDlg::GetRecord(const OUString &rRecName, sal_Bool bCont) +SwLabRec* SwLabDlg::GetRecord(const OUString &rRecName, bool bCont) { SwLabRec* pRec = NULL; bool bFound = false; @@ -294,7 +294,7 @@ void SwLabPage::SetToBusinessCard() m_pSheetButton->SetHelpId(HID_BUSINESS_FMT_PAGE_SHEET); m_pMakeBox->SetHelpId(HID_BUSINESS_FMT_PAGE_BRAND); m_pTypeBox->SetHelpId(HID_BUSINESS_FMT_PAGE_TYPE); - m_bLabel = sal_False; + m_bLabel = false; m_pAddressFrame->Hide(); }; @@ -355,7 +355,7 @@ IMPL_LINK_NOARG(SwLabPage, MakeHdl) GetParentSwLabDlg()->ReplaceGroup( aMake ); aItem.aLstMake = aMake; - const sal_Bool bCont = m_pContButton->IsChecked(); + const bool bCont = m_pContButton->IsChecked(); const size_t nCount = GetParentSwLabDlg()->Recs().size(); size_t nLstType = 0; @@ -408,7 +408,7 @@ IMPL_LINK_NOARG_INLINE_END(SwLabPage, TypeHdl) void SwLabPage::DisplayFormat() { MetricField aField(this, WinBits(0)); - FieldUnit aMetric = ::GetDfltMetric(sal_False); + FieldUnit aMetric = ::GetDfltMetric(false); SetMetric(aField, aMetric); aField.SetDecimalDigits(2); aField.SetMin (0); diff --git a/sw/source/ui/envelp/labelexp.cxx b/sw/source/ui/envelp/labelexp.cxx index 256027c5b132..ba14f0e17ae6 100644 --- a/sw/source/ui/envelp/labelexp.cxx +++ b/sw/source/ui/envelp/labelexp.cxx @@ -155,7 +155,7 @@ IMPL_LINK( SwVisitingCardPage, AutoTextSelectHdl, void*, pBox ) aBlockNames.getConstArray() ); } if(pExampleFrame->IsInitialized()) - pExampleFrame->ClearDocument( sal_True ); + pExampleFrame->ClearDocument( true ); } return 0; } diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx index c763b0e2d3c2..0570ae151ac1 100644 --- a/sw/source/ui/envelp/labfmt.cxx +++ b/sw/source/ui/envelp/labfmt.cxx @@ -311,7 +311,7 @@ SwLabFmtPage::SwLabFmtPage(Window* pParent, const SfxItemSet& rSet) get(m_pSavePB, "save"); // Metrics - FieldUnit aMetric = ::GetDfltMetric(sal_False); + FieldUnit aMetric = ::GetDfltMetric(false); SetMetric(*m_pHDistField, aMetric); SetMetric(*m_pVDistField , aMetric); SetMetric(*m_pWidthField , aMetric); diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx index db4f7d018ab2..00efa604f004 100644 --- a/sw/source/ui/envelp/mailmrge.cxx +++ b/sw/source/ui/envelp/mailmrge.cxx @@ -115,7 +115,7 @@ void SwXSelChgLstnr_Impl::selectionChanged( const EventObject& ) throw (Runtime if(rParent.pImpl->xSelSupp.is()) rParent.pImpl->xSelSupp->getSelection() >>= aSelection; - sal_Bool bEnable = aSelection.getLength() > 0; + bool bEnable = aSelection.getLength() > 0; rParent.aMarkedRB.Enable(bEnable); if(bEnable) rParent.aMarkedRB.Check(); @@ -386,7 +386,7 @@ SwMailMergeDlg::SwMailMergeDlg(Window* pParent, SwWrtShell& rShell, if (aColumnLB.GetSelectEntryCount() == 0) aColumnLB.SelectEntryPos(0); - const sal_Bool bEnable = m_aSelection.getLength() != 0; + const bool bEnable = m_aSelection.getLength() != 0; aMarkedRB.Enable(bEnable); if (bEnable) aMarkedRB.Check(); @@ -574,7 +574,7 @@ IMPL_LINK( SwMailMergeDlg, ButtonHdl, Button *, pBtn ) IMPL_LINK( SwMailMergeDlg, OutputTypeHdl, RadioButton *, pBtn ) { - sal_Bool bPrint = pBtn == &aPrinterRB; + bool bPrint = pBtn == &aPrinterRB; aSingleJobsCB.Enable(bPrint); aSaveMergedDocumentFL.Enable( !bPrint ); @@ -624,7 +624,7 @@ IMPL_LINK( SwMailMergeDlg, SaveTypeHdl, RadioButton*, pBtn ) IMPL_LINK( SwMailMergeDlg, FilenameHdl, CheckBox*, pBox ) { - sal_Bool bEnable = pBox->IsChecked(); + bool bEnable = pBox->IsChecked(); aColumnFT.Enable( bEnable ); aColumnLB.Enable(bEnable); aPathFT.Enable( bEnable ); diff --git a/sw/source/ui/envelp/swuilabimp.hxx b/sw/source/ui/envelp/swuilabimp.hxx index e24a86d4ec48..97e6a171256f 100644 --- a/sw/source/ui/envelp/swuilabimp.hxx +++ b/sw/source/ui/envelp/swuilabimp.hxx @@ -44,7 +44,7 @@ class SwLabPage : public SfxTabPage ListBox* m_pHiddenSortTypeBox; FixedText* m_pFormatInfo; - sal_Bool m_bLabel; + bool m_bLabel; SwLabPage(Window* pParent, const SfxItemSet& rSet); |