summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-26 15:34:49 +0200
committerNoel Grandin <noel@peralex.com>2014-03-27 13:45:09 +0200
commit34002c4e5cf68ac0c98c3922c653c9ea8b898207 (patch)
treea1a87e45a968cee95e8db7d2f5704070a04b2934 /sd/source
parentffca95023020a24eaff4ece1d4c7bedd469bfb78 (diff)
sfx2: sal_Bool->bool
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/dlg/paragr.cxx4
-rw-r--r--sd/source/ui/dlg/prntopts.cxx6
-rw-r--r--sd/source/ui/dlg/tpaction.cxx2
-rw-r--r--sd/source/ui/dlg/tpoption.cxx8
-rw-r--r--sd/source/ui/inc/prntopts.hxx2
-rw-r--r--sd/source/ui/inc/tpaction.hxx2
-rw-r--r--sd/source/ui/inc/tpoption.hxx6
7 files changed, 15 insertions, 15 deletions
diff --git a/sd/source/ui/dlg/paragr.cxx b/sd/source/ui/dlg/paragr.cxx
index c30e42396f73..41fddeabfdb6 100644
--- a/sd/source/ui/dlg/paragr.cxx
+++ b/sd/source/ui/dlg/paragr.cxx
@@ -43,7 +43,7 @@ public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet );
static sal_uInt16* GetRanges();
- virtual sal_Bool FillItemSet( SfxItemSet& rSet );
+ virtual bool FillItemSet( SfxItemSet& rSet );
virtual void Reset( const SfxItemSet& rSet );
private:
@@ -90,7 +90,7 @@ sal_uInt16* SdParagraphNumTabPage::GetRanges()
return aRange;
}
-sal_Bool SdParagraphNumTabPage::FillItemSet( SfxItemSet& rSet )
+bool SdParagraphNumTabPage::FillItemSet( SfxItemSet& rSet )
{
if(m_pNewStartCB->GetState() != m_pNewStartCB->GetSavedValue() ||
m_pNewStartNumberCB->GetState() != m_pNewStartNumberCB->GetSavedValue()||
diff --git a/sd/source/ui/dlg/prntopts.cxx b/sd/source/ui/dlg/prntopts.cxx
index f9cec00e5f76..37b0671d8e93 100644
--- a/sd/source/ui/dlg/prntopts.cxx
+++ b/sd/source/ui/dlg/prntopts.cxx
@@ -80,7 +80,7 @@ SdPrintOptions::~SdPrintOptions()
-sal_Bool SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
+bool SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
{
if( m_pCbxDraw->GetSavedValue() != TriState(m_pCbxDraw->IsChecked()) ||
m_pCbxNotes->GetSavedValue() != TriState(m_pCbxNotes->IsChecked()) ||
@@ -126,9 +126,9 @@ sal_Bool SdPrintOptions::FillItemSet( SfxItemSet& rAttrs )
rAttrs.Put( aOptions );
- return( sal_True );
+ return true;
}
- return( sal_False );
+ return false;
}
diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx
index 63a015b69eb9..106eb7cbae37 100644
--- a/sd/source/ui/dlg/tpaction.cxx
+++ b/sd/source/ui/dlg/tpaction.cxx
@@ -265,7 +265,7 @@ void SdTPAction::Construct()
-sal_Bool SdTPAction::FillItemSet( SfxItemSet& rAttrs )
+bool SdTPAction::FillItemSet( SfxItemSet& rAttrs )
{
sal_Bool bModified = sal_False;
presentation::ClickAction eCA = presentation::ClickAction_NONE;
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index 84eaced0f763..d347d43c0e91 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -60,7 +60,7 @@ SdTpOptionsSnap::~SdTpOptionsSnap()
-sal_Bool SdTpOptionsSnap::FillItemSet( SfxItemSet& rAttrs )
+bool SdTpOptionsSnap::FillItemSet( SfxItemSet& rAttrs )
{
SvxGridTabPage::FillItemSet(rAttrs);
SdOptionsSnapItem aOptsItem( ATTR_OPTIONS_SNAP );
@@ -80,7 +80,7 @@ sal_Bool SdTpOptionsSnap::FillItemSet( SfxItemSet& rAttrs )
// we get a possible existing GridItem, this ensures that we do net set
// some default values by accident
- return( sal_True );
+ return true;
}
@@ -137,7 +137,7 @@ SdTpOptionsContents::~SdTpOptionsContents()
-sal_Bool SdTpOptionsContents::FillItemSet( SfxItemSet& rAttrs )
+bool SdTpOptionsContents::FillItemSet( SfxItemSet& rAttrs )
{
sal_Bool bModified = sal_False;
@@ -365,7 +365,7 @@ int SdTpOptionsMisc::DeactivatePage( SfxItemSet* pActiveSet )
-sal_Bool SdTpOptionsMisc::FillItemSet( SfxItemSet& rAttrs )
+bool SdTpOptionsMisc::FillItemSet( SfxItemSet& rAttrs )
{
sal_Bool bModified = sal_False;
diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx
index a9224cf8aa49..c0457e6cdad0 100644
--- a/sd/source/ui/inc/prntopts.hxx
+++ b/sd/source/ui/inc/prntopts.hxx
@@ -66,7 +66,7 @@ public:
static SfxTabPage* Create( Window*, const SfxItemSet& );
- virtual sal_Bool FillItemSet( SfxItemSet& );
+ virtual bool FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
void SetDrawMode();
diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx
index 5f1e436e3848..266c4c71da81 100644
--- a/sd/source/ui/inc/tpaction.hxx
+++ b/sd/source/ui/inc/tpaction.hxx
@@ -103,7 +103,7 @@ public:
static SfxTabPage* Create( Window*, const SfxItemSet& );
- virtual sal_Bool FillItemSet( SfxItemSet& );
+ virtual bool FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
virtual void ActivatePage( const SfxItemSet& rSet );
diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx
index 67635ade1cdf..be21955bb6fb 100644
--- a/sd/source/ui/inc/tpoption.hxx
+++ b/sd/source/ui/inc/tpoption.hxx
@@ -40,7 +40,7 @@ public:
~SdTpOptionsSnap();
static SfxTabPage* Create( Window*, const SfxItemSet& );
- virtual sal_Bool FillItemSet( SfxItemSet& );
+ virtual bool FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
};
@@ -62,7 +62,7 @@ public:
~SdTpOptionsContents();
static SfxTabPage* Create( Window*, const SfxItemSet& );
- virtual sal_Bool FillItemSet( SfxItemSet& );
+ virtual bool FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
};
@@ -135,7 +135,7 @@ public:
~SdTpOptionsMisc();
static SfxTabPage* Create( Window*, const SfxItemSet& );
- virtual sal_Bool FillItemSet( SfxItemSet& );
+ virtual bool FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
/** Hide Impress specific controls, make Draw specific controls visible