summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 16:29:56 +0200
committerNoel Grandin <noel@peralex.com>2014-02-27 12:30:27 +0200
commit4941dc5890370879a4a998164db9e983ef758972 (patch)
tree2a53cea49d6e0f22ca24b4c25918a627583c0d28
parentb8eaa2b78235930f2875d5a757dcd69483ab3e7a (diff)
editeng: sal_Bool->bool
Change-Id: I1b5327ee57d0d60854784a51784f9272bb72b2b5
-rw-r--r--cui/source/tabpages/paragrph.cxx4
-rw-r--r--include/editeng/pmdlitem.hxx10
-rw-r--r--sw/source/ui/utlui/uitool.cxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 0df6735c1cd6..af9ef3a0aba9 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -1388,7 +1388,7 @@ sal_Bool SvxExtParagraphTabPage::FillItemSet( SfxItemSet& rOutSet )
if ( !pOld || ( (const SvxPageModelItem*)pOld )->GetValue() != sPage )
{
- rOutSet.Put( SvxPageModelItem( sPage, sal_False, _nWhich ) );
+ rOutSet.Put( SvxPageModelItem( sPage, false, _nWhich ) );
bModified = sal_True;
}
else
@@ -1397,7 +1397,7 @@ sal_Bool SvxExtParagraphTabPage::FillItemSet( SfxItemSet& rOutSet )
else if(TRISTATE_TRUE == eState && m_pApplyCollBtn->IsEnabled())
bIsPageModel = true;
else
- rOutSet.Put( SvxPageModelItem( sPage, sal_False, _nWhich ) );
+ rOutSet.Put( SvxPageModelItem( sPage, false, _nWhich ) );
_nWhich = GetWhich( SID_ATTR_PARA_PAGEBREAK );
diff --git a/include/editeng/pmdlitem.hxx b/include/editeng/pmdlitem.hxx
index c9a0be8ff1fc..c55513a80a10 100644
--- a/include/editeng/pmdlitem.hxx
+++ b/include/editeng/pmdlitem.hxx
@@ -32,13 +32,13 @@
class EDITENG_DLLPUBLIC SvxPageModelItem : public SfxStringItem
{
private:
- sal_Bool bAuto;
+ bool bAuto;
public:
TYPEINFO();
explicit inline SvxPageModelItem( sal_uInt16 nWh );
- inline SvxPageModelItem( const OUString& rModel, sal_Bool bA /*= sal_False*/,
+ inline SvxPageModelItem( const OUString& rModel, bool bA /*= false*/,
sal_uInt16 nWh );
inline SvxPageModelItem& operator=( const SvxPageModelItem& rModel );
@@ -51,16 +51,16 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- sal_Bool IsAuto() const { return bAuto; }
+ bool IsAuto() const { return bAuto; }
};
inline SvxPageModelItem::SvxPageModelItem( sal_uInt16 nWh )
- : bAuto( sal_False )
+ : bAuto( false )
{
SetWhich( nWh );
}
-inline SvxPageModelItem::SvxPageModelItem( const OUString& rModel, sal_Bool bA,
+inline SvxPageModelItem::SvxPageModelItem( const OUString& rModel, bool bA,
sal_uInt16 nWh ) :
SfxStringItem( nWh, rModel ),
bAuto( bA )
diff --git a/sw/source/ui/utlui/uitool.cxx b/sw/source/ui/utlui/uitool.cxx
index d1512e814033..9a4603ac46ef 100644
--- a/sw/source/ui/utlui/uitool.cxx
+++ b/sw/source/ui/utlui/uitool.cxx
@@ -650,7 +650,7 @@ void SwToSfxPageDescAttr( SfxItemSet& rCoreSet )
}
if(bPut)
- rCoreSet.Put( SvxPageModelItem( aName, sal_True, SID_ATTR_PARA_MODEL ) );
+ rCoreSet.Put( SvxPageModelItem( aName, true, SID_ATTR_PARA_MODEL ) );
}
// Determine metric